Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#9857 closed Patch - Bug Fix (Fixed)

Mythweb recording priority not sorting properly

Reported by: Spencer Herzberg <spencer.herzberg@…> Owned by: wagnerrp
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@…> 3 years ago.
recording priority sorting in mythweb patch

Download all attachments as: .zip

Change History (4)

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

recording priority sorting in mythweb patch

comment:1 Changed 3 years ago by wagnerrp

  • Owner changed from kormoc to wagnerrp
  • Status changed from new to assigned

comment:2 Changed 3 years ago by wagnerrp

  • Milestone changed from unknown to 0.24.2
  • Resolution set to Fixed
  • Status changed from assigned to closed

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 2 years ago by stuartm

  • Milestone 0.24.2 deleted

Milestone 0.24.2 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.