feat: order players alphabetically
This commit is contained in:
parent
b781408c18
commit
64d6edd9f5
@ -188,6 +188,7 @@ async def list_players(
|
|||||||
.join(PlayerTeamLink)
|
.join(PlayerTeamLink)
|
||||||
.join(Team)
|
.join(Team)
|
||||||
.where(Team.id == team_id, P.disabled == False)
|
.where(Team.id == team_id, P.disabled == False)
|
||||||
|
.order_by(P.display_name)
|
||||||
).all()
|
).all()
|
||||||
if players:
|
if players:
|
||||||
return [
|
return [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user