mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
Sort playlists with ascending parent id, so that more nested playlists come after
the less nested ones (required by Retune)
This commit is contained in:
parent
986b37ed29
commit
41f39ea5ca
2
src/db.c
2
src/db.c
@ -286,7 +286,7 @@ static const char *sort_clause[] =
|
||||
"ORDER BY f.title_sort ASC",
|
||||
"ORDER BY f.album_sort ASC, f.disc ASC, f.track ASC",
|
||||
"ORDER BY f.album_artist_sort ASC",
|
||||
"ORDER BY f.type DESC, f.special_id ASC, f.title ASC",
|
||||
"ORDER BY f.type DESC, f.parent_id ASC, f.special_id ASC, f.title ASC",
|
||||
"ORDER BY f.year ASC",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user