Make playlist ignore articles when sorting (#202)

This is more correct, and the other way is driving me crazy.
This commit is contained in:
Gavin D. Howard
2019-07-04 16:13:51 -06:00
committed by Jonas Kvinge
parent 64750025f6
commit 5cde33711e
4 changed files with 50 additions and 26 deletions

View File

@@ -1102,9 +1102,9 @@ bool Playlist::CompareItems(int column, Qt::SortOrder order, shared_ptr<Playlist
switch (column) {
case Column_Title: strcmp(title);
case Column_Title: strcmp(title_sortable);
case Column_Artist: strcmp(artist);
case Column_Album: strcmp(album);
case Column_Album: strcmp(album_sortable);
case Column_Length: cmp(length_nanosec);
case Column_Track: cmp(track);
case Column_Disc: cmp(disc);