Fix sort order for TopSongs

This commit is contained in:
Deluan
2020-10-21 00:10:46 -04:00
parent 53c1e9ec35
commit b93a3db267
+1 -1
View File
@@ -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