Alphabetize list of software options in federated instances list

This commit is contained in:
Mouse Reeve 2022-07-02 10:49:57 -07:00
parent be76fe1494
commit f5d6a18ce0

View file

@ -60,7 +60,7 @@ class Federation(View):
"sort": sort,
"software_options": models.FederatedServer.objects.values_list(
"application_type", flat=True
).distinct(),
).distinct().order_by("application_type"),
"form": forms.ServerForm(),
}
return TemplateResponse(request, "settings/federation/instance_list.html", data)