Skip to content
Permalink
Browse files

Order sites by domain

Order the sites by domain instead of by creation.
  • Loading branch information
jsvini committed Nov 1, 2019
1 parent dd21a17 commit 57e189ca6e9ab258e0836195db17f5fe3f9b1811
Showing with 1 addition and 1 deletion.
  1. +1 −1 plogical/acl.py
@@ -468,7 +468,7 @@ def findAllWebsites(currentACL, userID):
domainsList = []

if currentACL['admin'] == 1:
domains = Websites.objects.all()
domains = Websites.objects.order_by('domain').all()
for items in domains:
domainsList.append(items.domain)
else:

0 comments on commit 57e189c

Please sign in to comment.
You can’t perform that action at this time.