Sort member select choices
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Madis Mägi 2023-08-06 05:59:44 +03:00
parent c8b09d54f8
commit 5d9911e881

View File

@ -34,6 +34,7 @@ def fetch_members_select():
for username, user in users_lookup.items():
choices.append((username, user.display_name or username))
choices = list(set(choices))
choices = sorted(choices, key = lambda k: k[1] or "")
return choices
def fetch_type_select():