Sort member select choices
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
c8b09d54f8
commit
5d9911e881
@ -34,6 +34,7 @@ def fetch_members_select():
|
|||||||
for username, user in users_lookup.items():
|
for username, user in users_lookup.items():
|
||||||
choices.append((username, user.display_name or username))
|
choices.append((username, user.display_name or username))
|
||||||
choices = list(set(choices))
|
choices = list(set(choices))
|
||||||
|
choices = sorted(choices, key = lambda k: k[1] or "")
|
||||||
return choices
|
return choices
|
||||||
|
|
||||||
def fetch_type_select():
|
def fetch_type_select():
|
||||||
|
Loading…
Reference in New Issue
Block a user