feat: order players alphabetically

This commit is contained in:
2025-05-21 15:17:34 +02:00
parent b781408c18
commit 64d6edd9f5

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 [