[WEB-4115] fix: update issue count status query to handle null values #7080
This commit is contained in:
parent
5c9bdb1cea
commit
2d0c0c7f8a
1 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ class ProjectIssuesPublicEndpoint(BaseAPIView):
|
|||
Q(issue_intake__status=1)
|
||||
| Q(issue_intake__status=-1)
|
||||
| Q(issue_intake__status=2)
|
||||
| Q(issue_intake__status=True),
|
||||
| Q(issue_intake__isnull=True),
|
||||
archived_at__isnull=True,
|
||||
is_draft=False,
|
||||
),
|
||||
|
|
@ -205,7 +205,7 @@ class ProjectIssuesPublicEndpoint(BaseAPIView):
|
|||
Q(issue_intake__status=1)
|
||||
| Q(issue_intake__status=-1)
|
||||
| Q(issue_intake__status=2)
|
||||
| Q(issue_intake__status=True),
|
||||
| Q(issue_intake__isnull=True),
|
||||
archived_at__isnull=True,
|
||||
is_draft=False,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue