|
|
@ -38,7 +38,9 @@ def team_members(request):
|
|
|
|
f"{member.name} {member.url()}"
|
|
|
|
f"{member.name} {member.url()}"
|
|
|
|
for member in TeamMember.objects.annotate(
|
|
|
|
for member in TeamMember.objects.annotate(
|
|
|
|
shift_count=Count("fallback_shifts")
|
|
|
|
shift_count=Count("fallback_shifts")
|
|
|
|
).filter(fallback_shifts__gt=0)
|
|
|
|
)
|
|
|
|
|
|
|
|
.filter(fallback_shifts__gt=0)
|
|
|
|
|
|
|
|
.order_by("name")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
response.headers["Content-Type"] = "text/plain; charset=utf-8"
|
|
|
|
response.headers["Content-Type"] = "text/plain; charset=utf-8"
|
|
|
|