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(
help_wanted,
start_at__gt=timezone.now() - timedelta(minutes=20),
deleted=False,
)
.order_by("start_at", "room_id")
)

View File

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