mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 09:14:42 +00:00
try: fix all fav tracks order
This commit is contained in:
1 parent
aea8c15f6f
commit
a26373669d
2 files changed
+3
-2
No files matched your search
@@ -137,7 +137,6 @@ def get_favorite_tracks(query: GetAllOfTypeQuery):
|
||||
Others will return -1
|
||||
"""
|
||||
tracks, total = FavoritesTable.get_fav_tracks(query.start, query.limit)
|
||||
tracks.reverse()
|
||||
tracks = TrackStore.get_tracks_by_trackhashes([t.hash for t in tracks])
|
||||
|
||||
return {"tracks": serialize_tracks(tracks), "total": total}
|
||||
|
||||
Reference in new issue
Block a user