mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: cycle date check endpoint (#748)
This commit is contained in:
parent
bd9de0c213
commit
62e736677a
@ -368,7 +368,8 @@ class CycleDateCheckEndpoint(BaseAPIView):
|
|||||||
|
|
||||||
cycles = Cycle.objects.filter(
|
cycles = Cycle.objects.filter(
|
||||||
Q(start_date__lte=start_date, end_date__gte=start_date)
|
Q(start_date__lte=start_date, end_date__gte=start_date)
|
||||||
| Q(start_date__gte=end_date, end_date__lte=end_date),
|
| Q(start_date__lte=end_date, end_date__gte=end_date)
|
||||||
|
| Q(start_date__gte=start_date, end_date__lte=end_date),
|
||||||
workspace__slug=slug,
|
workspace__slug=slug,
|
||||||
project_id=project_id,
|
project_id=project_id,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user