add missing filters in team view

pull/1/head
parent 4b1b2b13a5
commit 59516a7a89

@ -51,6 +51,7 @@ def terminal(request):
.filter( .filter(
help_wanted, help_wanted,
start_at__gt=timezone.now() - timedelta(minutes=20), start_at__gt=timezone.now() - timedelta(minutes=20),
deleted=False,
) )
.order_by("start_at", "room_id") .order_by("start_at", "room_id")
) )

@ -144,6 +144,7 @@ class FreeShiftList(ShiftList):
.filter( .filter(
help_wanted, help_wanted,
start_at__gt=timezone.now(), start_at__gt=timezone.now(),
deltetd = False,
) )
.order_by("start_at", "room_id") .order_by("start_at", "room_id")
) )

Loading…
Cancel
Save