Fix sorting of users table
This commit is contained in:
1 parent
a85b34983b
commit
46c970d37d
1 file changed
+1
-1
+1
-1
@@ -157,7 +157,7 @@ def index(request, page=0, pageLength=50, username=None, error=''):
|
||||
def users(request):
|
||||
|
||||
# Build context dictionary for template
|
||||
data = {'profiles' : Profile.objects.order_by('games')}
|
||||
data = {'profiles' : Profile.objects.order_by('-games')}
|
||||
return render(request, 'users.html', data)
|
||||
|
||||
def viewUser(request, username, page=0):
|
||||
|
||||
Reference in new issue
Block a user