add missing filters in team view
This commit is contained in:
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…
Reference in New Issue