Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed sort to alphabetical

  • Loading branch information...
commit 439379a1b08ab88096e616be4c5806f7bc4096f9 1 parent e1bbadf
Potch potch authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/games/views.py
2  apps/games/views.py
View
@@ -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})
Please sign in to comment.
Something went wrong with that request. Please try again.