misc: sort items in variables screen (#22593)

This commit is contained in:
Frédéric Péters 2018-03-17 11:00:25 +01:00
parent a50f2f1dfa
commit c46b9b1f82
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class VariablesView(TemplateView):
def get_context_data(self, **kwargs):
context = super(VariablesView, self).get_context_data(**kwargs)
context['variables'] = Variable.objects.filter(auto=False,
service_pk__isnull=True)
service_pk__isnull=True).order_by('label')
return context