Skip to content

Commit 57e189c

Browse files
authored
Order sites by domain
Order the sites by domain instead of by creation.
1 parent dd21a17 commit 57e189c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plogical/acl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def findAllWebsites(currentACL, userID):
468468
domainsList = []
469469

470470
if currentACL['admin'] == 1:
471-
domains = Websites.objects.all()
471+
domains = Websites.objects.order_by('domain').all()
472472
for items in domains:
473473
domainsList.append(items.domain)
474474
else:

0 commit comments

Comments
 (0)