Improved dashboard performance

This commit is contained in:
2017-06-29 20:52:30 +02:00
parent f4703fdd5f
commit dca96b317e
6 changed files with 60 additions and 27 deletions

View File

@ -18,7 +18,7 @@ func GetThreadsByUser(ctx *aero.Context) string {
}
threads := user.Threads()
arn.SortThreadsByDate(threads)
arn.SortThreadsLatestFirst(threads)
return ctx.HTML(components.ThreadList(threads))
}