mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-28 20:41:46 +00:00
Alphabetize list of software options in federated instances list
This commit is contained in:
parent
be76fe1494
commit
f5d6a18ce0
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Federation(View):
|
||||||
"sort": sort,
|
"sort": sort,
|
||||||
"software_options": models.FederatedServer.objects.values_list(
|
"software_options": models.FederatedServer.objects.values_list(
|
||||||
"application_type", flat=True
|
"application_type", flat=True
|
||||||
).distinct(),
|
).distinct().order_by("application_type"),
|
||||||
"form": forms.ServerForm(),
|
"form": forms.ServerForm(),
|
||||||
}
|
}
|
||||||
return TemplateResponse(request, "settings/federation/instance_list.html", data)
|
return TemplateResponse(request, "settings/federation/instance_list.html", data)
|
||||||
|
|
Loading…
Reference in a new issue