Add sub-sorting when sort=artists, because otherwise Tunesremote SE will not play the artist's tracks in proper order

This commit is contained in:
ejurgensen 2015-06-01 23:36:16 +02:00
parent 70fea7e459
commit 7a0dfef136

View File

@ -280,7 +280,7 @@ static const char *sort_clause[] =
"", "",
"ORDER BY f.title_sort ASC", "ORDER BY f.title_sort ASC",
"ORDER BY f.album_sort ASC, f.disc ASC, f.track ASC", "ORDER BY f.album_sort ASC, f.disc ASC, f.track ASC",
"ORDER BY f.album_artist_sort ASC", "ORDER BY f.album_artist_sort ASC, f.album_sort ASC, f.disc ASC, f.track ASC",
"ORDER BY f.type ASC, f.parent_id ASC, f.special_id ASC, f.title ASC", "ORDER BY f.type ASC, f.parent_id ASC, f.special_id ASC, f.title ASC",
"ORDER BY f.year ASC", "ORDER BY f.year ASC",
"ORDER BY f.genre ASC", "ORDER BY f.genre ASC",