Bug 17205 - Artists with accented characters not correctly sorted in pagebar
: Artists with accented characters not correctly sorted in pagebar
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.6.0
: PC Other
: P2 normal with 2 votes (vote)
: ---
Assigned To: Alan Young
: onebrowser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-08 00:40 UTC by Dennis Mutsaers
Modified: 2011-07-29 07:16 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
Á sorted after Z (11.24 KB, image/jpeg)
2011-05-08 00:40 UTC, Dennis Mutsaers
Details
À before A (10.74 KB, image/jpeg)
2011-05-18 07:46 UTC, Dennis Mutsaers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Mutsaers 2011-05-08 00:40:47 UTC
Created attachment 7265 [details]
Á sorted after Z

Artists with accented characters not correctly sorted in 7.6 web interface,
i.e. Á sorted after Z (See attachment)
Comment 1 Jim McAtee 2011-05-08 01:22:59 UTC
This is a problem only in the pagebar.

What I see is that these characters are sorted correctly within lists, but they're not correctly sorted in the pagebar. A character such as Á is sorted at the end of the pagebar, but may point to the first page of the artist list.

May I suggest the summary: 'Accented characters not sorted correctly in pagebar'. Also, it's probably best to add the keyword 'onebrowser', since this bug only affects that branch.
Comment 2 SVN Bot 2011-05-18 00:35:59 UTC
 == Auto-comment from SVN commit #32428 to the slim repo by ayoung ==
 == http://svn.slimdevices.com/slim?view=revision&revision=32428 ==

Fixed bug 17205: Artists with accented characters not correctly sorted in pagebar 
Pass already-sorted alphaindex array as well as alphamap hash for constructing pagebar.
Comment 3 Dennis Mutsaers 2011-05-18 07:46:36 UTC
Created attachment 7287 [details]
À before A

I wouldn't call this fixed, I would call this changed... :-)
Comment 4 Alan Young 2011-05-18 07:50:12 UTC
The sort order is defined by the locale, as used by the DB sorting code. It will vary by language.
Comment 5 Dennis Mutsaers 2011-05-18 08:26:00 UTC
I would expect that A would include À, Á, Ä, and other variants..., not a separate entry.
Comment 6 Alan Young 2011-05-18 08:38:06 UTC
Why? They are, in general, different characters. 

With a Nordic locale, you will find that Å comes after Z.
Comment 7 Dennis Mutsaers 2011-05-18 09:10:21 UTC
Well, in nordic countries the alfabet exists of more than 26 characters, in most other countries it doesn't.
My dictionary doesn't list Á, À, etc. , so I don't expect squeezebox server to do this either.
i.e. iPeng, Squeeze Commander, (even the Duet Controller?) doesn't list the pagebar in this fashion, neither do many other applications (not squeezebox related).
Comment 8 Dennis Mutsaers 2011-05-18 22:45:18 UTC
Neither did pre onebrowser builds...