After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 706242 - Artists in Artists view are not sorted case-insensitively
Artists in Artists view are not sorted case-insensitively
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2013-08-18 13:22 UTC by Arnel Borja
Modified: 2013-08-18 17:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing that the artist eufonius is sorted after Zwei (385.56 KB, image/png)
2013-08-18 13:22 UTC, Arnel Borja
  Details
query: Sort artist names case insensitively (759 bytes, patch)
2013-08-18 14:00 UTC, Arnel Borja
committed Details | Review

Description Arnel Borja 2013-08-18 13:22:23 UTC
Created attachment 252111 [details]
Screenshot showing that the artist eufonius is sorted after Zwei

Albums in albums view are sorted case-insensitively, but this is not the case in the Artists view. All artist names starting with an uppercase letter are sorted first, followed by artists that start with a lower case letter.

Sample query that could show the problem:
tracker-sparql -q "SELECT DISTINCT (SELECT nmm:artistName(?artist) WHERE { ?album nmm:albumArtist ?artist } LIMIT 1) AS author { ?song a nmm:MusicPiece ; nmm:musicAlbum ?album } ORDER BY ?author"

Sample output of above command:
  ...
  ZAQ
  Zwei
  Zwei爀
  eufonius
  fripSide
  fumika
  ...
Comment 1 Arnel Borja 2013-08-18 14:00:59 UTC
Created attachment 252119 [details] [review]
query: Sort artist names case insensitively
Comment 2 Arnel Borja 2013-08-18 17:19:51 UTC
Comment on attachment 252119 [details] [review]
query: Sort artist names case insensitively

Committed as 9c811778.