Skip to content
Browse files

Merge pull request #5 from eldarion/order-fix

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

0 comments on commit 9600750

Please sign in to comment.
Something went wrong with that request. Please try again.