Skip to content

Commit

Permalink
CollectionModel: Don't use artist sort text for album
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Dec 17, 2024
1 parent f971c92 commit 53c72d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collection/collectionmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ QString CollectionModel::SortText(const GroupBy group_by, const Song &song, cons
case GroupBy::Artist:
return SortTextForArtist(song.artist(), sort_skips_articles);
case GroupBy::Album:
return SortTextForArtist(song.album(), sort_skips_articles);
return SortText(song.album());
case GroupBy::AlbumDisc:
return song.album() + SortTextForNumber(std::max(0, song.disc()));
case GroupBy::YearAlbum:
Expand Down

0 comments on commit 53c72d4

Please sign in to comment.