feat: order players alphabetically

This commit is contained in:
julius 2025-05-21 15:17:34 +02:00
parent b781408c18
commit 64d6edd9f5
Signed by: julius
GPG Key ID: C80A63E6A5FD7092

View File

@ -188,6 +188,7 @@ async def list_players(
.join(PlayerTeamLink)
.join(Team)
.where(Team.id == team_id, P.disabled == False)
.order_by(P.display_name)
).all()
if players:
return [