misc: sort items in variables screen (#22593)
This commit is contained in:
parent
a50f2f1dfa
commit
c46b9b1f82
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue