From 622cc548454752b1cb25fbf9007e4865c5a8fb5c Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 27 Jun 2017 16:54:16 +0200 Subject: [PATCH] Fixed sorting on music page --- pages/music/music.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/music/music.go b/pages/music/music.go index 562d50a2..38f9ec79 100644 --- a/pages/music/music.go +++ b/pages/music/music.go @@ -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] }