Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#9857 closed Patch - Bug Fix (Fixed)

Mythweb recording priority not sorting properly

Reported by: Spencer Herzberg <spencer.herzberg@…> Owned by: Raymond Wagner
Priority: trivial Milestone:
Component: Plugin - MythWeb Version: Master Head
Severity: low Keywords: mythweb sorting js
Cc: Ticket locked: no

Description

On the recording schedules page, if the first first schedule (before sorting has been applied) has a negative recording priority, sorting this column uses the sortCaseInsensitive sort instead of sortNumeric.

Steps to reproduce:

  • Navigate to recording schedules
  • Edit the first schedule to have a priority of -20
  • Edit second schedule to have a priority of -15
  • Click sort on the priority column
  • See -20 and -15 schedules are out of order

*Note: sorting works correctly if the first schedule has a positive priority

Attachments (1)

priority_sorting.patch (556 bytes) - added by Spencer Herzberg <spencer.herzberg@…> 13 years ago.
recording priority sorting in mythweb patch

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by Spencer Herzberg <spencer.herzberg@…>

Attachment: priority_sorting.patch added

recording priority sorting in mythweb patch

comment:1 Changed 13 years ago by Raymond Wagner

Owner: changed from Rob Smith to Raymond Wagner
Status: newassigned

comment:2 Changed 13 years ago by Raymond Wagner

Milestone: unknown0.24.2
Resolution: Fixed
Status: assignedclosed

Revise sorting strategy selection

This corrects the selection of sorting strategies in MythWeb, changing the numeric sort regular expression to allow negative values.

Fixes #9857

Branch: master Changeset: 8b4f130641dfebf70590c70edd8f99d3ad1fa0c0
Branch: fixes/0.24 Changeset: 542e922922ca31aab878c89a268aed308a17c901

comment:3 Changed 12 years ago by stuartm

Milestone: 0.24.2

Milestone 0.24.2 deleted

Note: See TracTickets for help on using tickets.