Fix latest topic listings

This commit is contained in:
Trever Fischer
2012-04-17 13:14:09 -04:00
parent 820c904d39
commit d1c93cd675
3 changed files with 6 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ def random_quote(request):
return {}
def forum_activity(request):
latestPosts = forums.models.Post.objects.all().order_by('updated')[0:5]
latestPosts = forums.models.Post.objects.all().order_by('-updated')[0:5]
return {'latestForumPosts': latestPosts}
def login_form(request):