Skip to content

Commit

Permalink
fix the popular sort for collections (bug 588637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Balogh committed Aug 19, 2010
1 parent 110c5b0 commit e66accd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/bandwagon/views.py
Expand Up @@ -85,7 +85,7 @@ def filter(self, field):
qs = self.base_queryset
if field == 'featured':
return qs.filter(type=amo.COLLECTION_FEATURED)
elif field == 'followers':
elif field == 'popular':
return qs.order_by('-weekly_subscribers')
elif field == 'rating':
return qs.order_by('-rating')
Expand Down

0 comments on commit e66accd

Please sign in to comment.