Commit 0cb540ef authored by Erin's avatar Erin
Browse files

Fix album track ordering in lookup results

parent bef84395
Pipeline #15799 passed with stage
in 52 seconds
......@@ -371,7 +371,7 @@ class FunkwhaleLibraryProvider(backend.LibraryProvider):
client = self.backend.client
config = {
"track": lambda id: [client.get_track(id)],
"album": lambda id: client.list_tracks({"album": id})["results"],
"album": lambda id: client.list_tracks({"album": id, "ordering": "position"})["results"],
"artist": lambda id: client.list_tracks({"artist": id})["results"],
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment