Skip to content
Snippets Groups Projects
Commit cd721a50 authored by jan.bednarik's avatar jan.bednarik
Browse files

Order login shortcuts in API by name.

parent 8f87319e
No related branches found
No related tags found
No related merge requests found
......@@ -97,5 +97,5 @@ class Query:
return None
def resolve_login_shortcuts(self, info, **kwargs):
clients = OpenIdClient.objects.filter(is_shortcut=True)
clients = OpenIdClient.objects.filter(is_shortcut=True).order_by('name')
return [types.LoginShortcut.from_db(c) for c in clients]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment