Explicit PrefetchAnime call

This commit is contained in:
2017-07-05 14:34:33 +02:00
parent 9d28c652c0
commit a94b69d671
5 changed files with 6 additions and 15 deletions

View File

@ -25,6 +25,7 @@ func Get(ctx *aero.Context) string {
return ctx.Error(http.StatusNotFound, "Anime list not found", nil)
}
animeList.PrefetchAnime()
animeList.Sort()
return ctx.HTML(components.AnimeLists(animeList.SplitByStatus(), animeList.User(), user))