1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 11:35:24 +01:00

Sort by album artist properly.

Update issue #408
Status: Fixed
Looks good, thanks!
This commit is contained in:
David Sansome 2010-06-16 14:52:01 +00:00
parent 747d466bcc
commit 7f3c0b853a

View File

@ -527,7 +527,7 @@ LibraryItem* LibraryModel::ItemFromQuery(GroupBy type,
case GroupBy_AlbumArtist:
item->key = q.Value(0).toString();
item->display_text = TextOrUnknown(item->key);
item->sort_text = SortText(item->key);
item->sort_text = SortTextForArtist(item->key);
break;
case GroupBy_None:
@ -574,7 +574,7 @@ LibraryItem* LibraryModel::ItemFromSong(GroupBy type,
case GroupBy_Album: if (item->key.isNull()) item->key = s.album();
case GroupBy_AlbumArtist: if (item->key.isNull()) item->key = s.albumartist();
item->display_text = TextOrUnknown(item->key);
item->sort_text = SortText(item->key);
item->sort_text = SortTextForArtist(item->key);
break;
case GroupBy_None: