feat(fallback): sort team members by their id as well

main
Luca 7 months ago
parent c70965c46d
commit 33a07a0415

@ -45,7 +45,7 @@ def team_members(request):
shift_count=Count("fallback_shifts") shift_count=Count("fallback_shifts")
) )
.filter(fallback_shifts__gt=0) .filter(fallback_shifts__gt=0)
.order_by("name") .order_by("name", "id")
) )
) )
response.headers["Content-Type"] = "text/plain; charset=utf-8" response.headers["Content-Type"] = "text/plain; charset=utf-8"

Loading…
Cancel
Save