core: sort applications by name

This commit is contained in:
Jens Langhammer 2020-02-18 17:00:56 +01:00
parent 878169ea2e
commit cd1af15c56
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class OverviewView(LoginRequiredMixin, TemplateView):
def get_context_data(self, **kwargs):
kwargs["applications"] = []
for application in Application.objects.all():
for application in Application.objects.all().order_by('name'):
engine = PolicyEngine(
application.policies.all(), self.request.user, self.request
)