[mythtv-commits] Ticket #12298: Sorting improperly assuming an Article

MythTV noreply at mythtv.org
Tue Dec 18 00:27:19 UTC 2018


#12298: Sorting improperly assuming an Article
----------------------------------+-------------------------------
 Reporter:  skd5aner@…            |          Owner:  David Hampton
     Type:  Bug Report - General  |         Status:  closed
 Priority:  minor                 |      Milestone:  30.0
Component:  MythTV - General      |        Version:  0.27-fixes
 Severity:  medium                |     Resolution:  fixed
 Keywords:                        |  Ticket locked:  0
----------------------------------+-------------------------------
Changes (by David Hampton <mythtv@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"5d9f272c2d5ffcfe2400be243858dc5c68b9e246/mythtv"
 5d9f272c2/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="5d9f272c2d5ffcfe2400be243858dc5c68b9e246"
 Overhaul sorting of strings.

 Create the new files mythsorthelper.{h,cpp} to centralized all the
 code related to sorting, ignoring case, handling prefixes, etc.  This
 code handles the case where the translation says there are no prefixes
 for a language.  It also handles a list of prefixes that should never
 be sorted.  The main object here is essentially a singleton, but its
 reference counted so that any time the preferences are changed it can
 be tossed and a new 'singleton' created.

 Rip out the Videometadata SortData and SortKey structures and replace
 them with a simple "sortBefore" function.

 Add sorting to mythmusic, mythnews, etc.

 Remove unnecessary doxygen function names.

 Fixes #12298.
 }}}

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/12298#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list