2
0
Fork 0

add missing filters in team view

This commit is contained in:
Andreas (@xAndy) Zimmermann 2022-05-20 15:42:32 +02:00
parent 4b1b2b13a5
commit 59516a7a89
2 changed files with 2 additions and 0 deletions

View File

@ -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")
) )

View File

@ -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")
) )