Sort playlist by ui_order, to keep playlist ordered even if the user re-order them. Most of the code was written, I can't figure out why this code was missing... Anyway, fixes issue 1068
This commit is contained in:
parent
a6b6147c9d
commit
0544cfa90a
|
@ -56,7 +56,8 @@ PlaylistBackend::PlaylistList PlaylistBackend::GetAllPlaylists() {
|
|||
|
||||
QSqlQuery q("SELECT ROWID, name, last_played, dynamic_playlist_type,"
|
||||
" dynamic_playlist_data, dynamic_playlist_backend"
|
||||
" FROM playlists", db);
|
||||
" FROM playlists"
|
||||
" ORDER BY ui_order", db);
|
||||
q.exec();
|
||||
if (db_->CheckErrors(q))
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue