Opened 12 years ago

Closed 12 years ago

#4540 closed defect (invalid)

Channel ordering by channel name should be case insensitive

Reported by: jmwislez@… Owned by: danielk
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

In the general settings in mythfrontend, one can choose to do the channel ordering by channel name. However, the alphabetical ordering is currently case sensitive, so that e.g. "ARTE" and "Arte" end up in a different position in the list.

Attachments (1)

4540-v1.patch (609 bytes) - added by danielk 12 years ago.
Does a non-case sensitive compare, unless equal under case sensitive compare

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newassigned
Version: 0.20.2head

Changed 12 years ago by danielk

Attachment: 4540-v1.patch added

Does a non-case sensitive compare, unless equal under case sensitive compare

comment:2 Changed 12 years ago by danielk

(In [16691]) Refs #4540. Fixes description text for call sign channel ordering.

comment:3 Changed 12 years ago by danielk

Resolution: invalid
Status: assignedclosed

In the English locale at least, Arte and ARTE are right next to each other on the list.

I've attached a patch to the ticket that ensures that no matter the locale, but I don't believe it is needed.

When reading the ticket I scratched my head at what "channel name" ordering was, until I looked at the code and realized this was sorting by the callsign. It is possible to sort on the long name of the channel, but we don't currently have a comparison function for this, so I've changed the text for that combobox entry to callsign, so as to be more clear. I think maybe it is being sorted by callsign, but you are looking at the channel name and hence the order doesn't look right to you..

Note: See TracTickets for help on using tickets.