Skip to content

Commit b770c2d

Browse files
committed
ordering on projects archive
1 parent 9487c3f commit b770c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

anthill/projects/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def projects_and_ideas(request):
2121
context_instance=RequestContext(request))
2222

2323
def archive(request, projects='all'):
24-
qs = Project.objects.select_related().all()
24+
qs = Project.objects.select_related().order_by('-update_date')
2525
if projects == 'official':
2626
qs = qs.filter(official=True)
2727
elif projects == 'community':

0 commit comments

Comments
 (0)