chorus2 icon indicating copy to clipboard operation
chorus2 copied to clipboard

Sort movies and tv shows collections by 'sorttitle' attribute

Open PunyIron opened this issue 8 years ago • 1 comments

Sort movies and tv shows collections by 'sorttitle' attribute instead of 'title' attribute in default. I think this is the real reason of exists of 'sorttitle' attribute.

In some languages, sometimes is needed to use 'sorttitle' because 'title' contain accents, which are not good for correct items ordering.

Thanks for considering.

PunyIron avatar May 27 '17 12:05 PunyIron

Pretty sure this file is all that needs editing: https://github.com/xbmc/chorus2/blob/60e543306195cd2b46dc77b36688e321ec1fba0f/src/js/apps/filter/filter_app.js.coffee#L18

      {
        alias: 'sort title'
        type: 'string'
        defaultSort: true
        defaultOrder: 'asc'
        key: 'sorttitle'
      }

Not sure how to build / test it :P

yuuzhan avatar Jun 14 '23 03:06 yuuzhan