mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: archived cycles and mpdules (#4126)
This commit is contained in:
parent
3742ea91bf
commit
62dac421dc
@ -27,6 +27,7 @@ class WorkspaceCyclesEndpoint(BaseAPIView):
|
|||||||
.select_related("project")
|
.select_related("project")
|
||||||
.select_related("workspace")
|
.select_related("workspace")
|
||||||
.select_related("owned_by")
|
.select_related("owned_by")
|
||||||
|
.filter(archived_at__isnull=False)
|
||||||
.annotate(
|
.annotate(
|
||||||
total_issues=Count(
|
total_issues=Count(
|
||||||
"issue_cycle",
|
"issue_cycle",
|
||||||
|
@ -30,6 +30,7 @@ class WorkspaceModulesEndpoint(BaseAPIView):
|
|||||||
.select_related("workspace")
|
.select_related("workspace")
|
||||||
.select_related("lead")
|
.select_related("lead")
|
||||||
.prefetch_related("members")
|
.prefetch_related("members")
|
||||||
|
.filter(archived_at__isnull=False)
|
||||||
.prefetch_related(
|
.prefetch_related(
|
||||||
Prefetch(
|
Prefetch(
|
||||||
"link_module",
|
"link_module",
|
||||||
|
Loading…
Reference in New Issue
Block a user