mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
Fix sort order for TopSongs
This commit is contained in:
parent
53c1e9ec35
commit
b93a3db267
@ -158,7 +158,7 @@ func (e *externalInfo) TopSongs(ctx context.Context, artist string, count int) (
|
|||||||
squirrel.Like{"title": t.Name},
|
squirrel.Like{"title": t.Name},
|
||||||
},
|
},
|
||||||
Sort: "year",
|
Sort: "year",
|
||||||
Order: "desc",
|
Order: "asc",
|
||||||
})
|
})
|
||||||
if err != nil || len(mfs) == 0 {
|
if err != nil || len(mfs) == 0 {
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user