Opened 16 years ago
Closed 16 years ago
#4540 closed defect (invalid)
Channel ordering by channel name should be case insensitive
Reported by: | 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)
Change History (4)
comment:1 Changed 16 years ago by
Owner: | changed from Isaac Richards to danielk |
---|---|
Status: | new → assigned |
Version: | 0.20.2 → head |
Changed 16 years ago by
Attachment: | 4540-v1.patch added |
---|
comment:2 Changed 16 years ago by
comment:3 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
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..
Does a non-case sensitive compare, unless equal under case sensitive compare