poehoes / ampache-mobile

Automatically exported from code.google.com/p/ampache-mobile
0 stars 0 forks source link

Wrong sorting of artists with a prefix/umlaut #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The artists list is sorted in a wrong way when having artists with a prefix 
like "The".

In my case, there's an artist called "Die Ärzte" and my artists list looks 
like this

(#)
2 Men Ahead
(A)
a-ha
Alanis Morissette
...
Art Garfunkel
(D)
Die Ärzte
(A)
Aswad
(B)
...

So basically the list of (A) artists is interrupted and 'Die Ärzte' is 
inserted in the middle of it.
This could be also caused by the collation which causes the 'Ä' (A umlaut) to 
be treated different.

What is the expected output? What do you see instead?
I'd actually expect an artist starting with Ä to be sorted according to the 
locale - some locales do a sorting like this:

A, Ä, B, ...

while others do it like this:

A, B, ... X, Y, Z, Ä, Ö, Ü

I'm not really sure whether the sorting problem is caused by the fact that it 
is an artist with a prefix or it is due to the umlaut.

What version of Ampache Mobile are you using?
0.9.6

What version of Ampache Server are you using? ex: 3.5.1
3.5.3

Please provide any additional information below. (Ex. Using transcoding,
problem is specific to EVDO vs WiFi)

WebOS 1.4.5 (347), German

Original issue reported on code.google.com by elias.pr...@gmail.com on 1 Dec 2010 at 1:08

GoogleCodeExporter commented 9 years ago
Opps just noticed your bug report... I had to do some special sorting to ignore 
"The" in english... I'm not doing it in German but apparently the server is.  

Original comment by bjgeiser@gmail.com on 12 Mar 2011 at 9:08