From 53c72d4f8e8342e892088a38c997c8f84122428b Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 17 Dec 2024 22:38:04 +0100 Subject: [PATCH] CollectionModel: Don't use artist sort text for album --- src/collection/collectionmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collection/collectionmodel.cpp b/src/collection/collectionmodel.cpp index a59f9ce5ec..7abaf44c0b 100644 --- a/src/collection/collectionmodel.cpp +++ b/src/collection/collectionmodel.cpp @@ -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: