Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #5 from eldarion/order-fix

Fix ordering
  • Loading branch information...
commit 9600750b02a5998700dfdcf9f706bee1e88d1e2d 2 parents dbe0227 + c17279f
@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.