From a06130973cd2ebd37936caae8eabc14dacfd9900 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 15 Mar 2018 16:57:39 +0100 Subject: [PATCH] Fixed tag not being displayed when filtering --- pages/soundtracks/render.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/soundtracks/render.go b/pages/soundtracks/render.go index 57174762..5375b3f6 100644 --- a/pages/soundtracks/render.go +++ b/pages/soundtracks/render.go @@ -17,6 +17,7 @@ const ( func render(ctx *aero.Context, allTracks []*arn.SoundTrack) string { user := utils.GetUser(ctx) index, _ := ctx.GetInt("index") + tag := ctx.Get("tag") // Slice the part that we need tracks := allTracks[index:] @@ -39,5 +40,5 @@ func render(ctx *aero.Context, allTracks []*arn.SoundTrack) string { } // Otherwise, send the full page - return ctx.HTML(components.SoundTracks(tracks, nextIndex, "", user)) + return ctx.HTML(components.SoundTracks(tracks, nextIndex, tag, user)) }