Permalink
Browse files

Changed sort to alphabetical

  • Loading branch information...
1 parent e1bbadf commit 439379a1b08ab88096e616be4c5806f7bc4096f9 @potch potch committed Jan 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/games/views.py
View
2 apps/games/views.py
@@ -103,7 +103,7 @@ def view_list(request):
if not user or not user.is_superuser:
filters.append(Q(is_approved=True))
- games = Game.objects.filter(reduce(or_, filters, Q())).order_by('-id')
+ games = Game.objects.filter(reduce(or_, filters, Q())).order_by('name')
return render(request, 'games/list.html', {'games': games})

0 comments on commit 439379a

Please sign in to comment.