Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix ordering

  • Loading branch information...
commit c17279fe052d9b1f8051bf2b02fd89728460ca76 1 parent cfd758d
@paltman paltman authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  agora/managers.py
View
3  agora/managers.py
@@ -31,6 +31,5 @@ def posts(self, thread, reverse=False):
}
queryset = queryset.filter(thread=thread)
queryset = queryset.select_related("thread")
- if reverse:
- queryset = queryset.order_by("%screated" % (reverse and "-" or ""))
+ queryset = queryset.order_by("%screated" % (reverse and "-" or ""))
return queryset
Please sign in to comment.
Something went wrong with that request. Please try again.