Commit 068a8051 authored by Sli's avatar Sli Committed by Skia

forum: fix order by date

parent fc7e4519
......@@ -62,7 +62,7 @@ class ForumSearchView(ListView):
queryset = SearchQuerySet().models(ForumMessage).autocomplete(auto=query)
if order_by == "date":
queryset.order_by("date")
queryset = queryset.order_by("-date")
queryset = queryset.load_all()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment