chore: handling the archived module ids in the issue list and issue detail endpoints (#5343)
This commit is contained in:
parent
24b1e71cbf
commit
f457048644
4 changed files with 10 additions and 8 deletions
|
|
@ -223,7 +223,8 @@ class WorkspaceViewIssuesViewSet(BaseViewSet):
|
|||
ArrayAgg(
|
||||
"issue_module__module_id",
|
||||
distinct=True,
|
||||
filter=~Q(issue_module__module_id__isnull=True),
|
||||
filter=~Q(issue_module__module_id__isnull=True)
|
||||
& Q(issue_module__module__archived_at__isnull=True),
|
||||
),
|
||||
Value([], output_field=ArrayField(UUIDField())),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue