mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: issue search endpoint for parent issues (#705)
* fix: issue search endpoint for parent issues * fix: parent search * fix: search endpoint
This commit is contained in:
parent
cf662f6e6c
commit
f2144c3e89
@ -217,10 +217,10 @@ class IssueSearchEndpoint(BaseAPIView):
|
||||
project__project_projectmember__member=self.request.user,
|
||||
)
|
||||
|
||||
if parent:
|
||||
issues.filter(parent__isnull=True)
|
||||
if parent == "true":
|
||||
issues = issues.filter(parent__isnull=True)
|
||||
if blocker_blocked_by and issue_id:
|
||||
issues.filter(blocker_issues=issue_id, blocked_issues=issue_id)
|
||||
issues = issues.filter(blocker_issues=issue_id, blocked_issues=issue_id)
|
||||
|
||||
return Response(
|
||||
issues.values(
|
||||
|
Loading…
Reference in New Issue
Block a user