From 57e189ca6e9ab258e0836195db17f5fe3f9b1811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Silva?= Date: Fri, 1 Nov 2019 16:06:58 -0300 Subject: [PATCH] Order sites by domain Order the sites by domain instead of by creation. --- plogical/acl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plogical/acl.py b/plogical/acl.py index ed3e0c5e9..65428195f 100755 --- a/plogical/acl.py +++ b/plogical/acl.py @@ -468,7 +468,7 @@ class ACLManager: 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: