fix(ui): sort playlist by year
fix #3878 Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -55,7 +55,9 @@ func (r *playlistRepository) Tracks(playlistId string, refreshSmartPlaylist bool
|
|||||||
"artist": "order_artist_name",
|
"artist": "order_artist_name",
|
||||||
"album": "order_album_name, order_album_artist_name",
|
"album": "order_album_name, order_album_artist_name",
|
||||||
"title": "order_title",
|
"title": "order_title",
|
||||||
"duration": "duration", // To make sure the field will be whitelisted
|
// To make sure these fields will be whitelisted
|
||||||
|
"duration": "duration",
|
||||||
|
"year": "year",
|
||||||
},
|
},
|
||||||
"f") // TODO I don't like this solution, but I won't change it now as it's not the focus of BFR.
|
"f") // TODO I don't like this solution, but I won't change it now as it's not the focus of BFR.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user