Fixed sorting on music page
This commit is contained in:
parent
064a3e1fa5
commit
622cc54845
@ -18,6 +18,8 @@ func Get(ctx *aero.Context) string {
|
||||
return ctx.Error(http.StatusInternalServerError, "Error fetching soundtracks", err)
|
||||
}
|
||||
|
||||
arn.SortSoundTracksLatestFirst(tracks)
|
||||
|
||||
if len(tracks) > maxTracks {
|
||||
tracks = tracks[:maxTracks]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user