mirror of
https://github.com/makeplane/plane.git
synced 2026-07-12 21:40:18 +02:00
fix: enabled other project issues in issue realtions (#2460)
This commit is contained in:
@@ -59,11 +59,7 @@ class IssueRelationQuery:
|
||||
|
||||
# constructing the issue query
|
||||
issue_queryset = (
|
||||
Issue.issue_objects.filter(workspace__slug=slug, project_id=project)
|
||||
.filter(
|
||||
project__project_projectmember__member=info.context.user,
|
||||
project__project_projectmember__is_active=True,
|
||||
)
|
||||
Issue.issue_objects.filter(workspace__slug=slug)
|
||||
.select_related("workspace", "project", "state", "parent")
|
||||
.prefetch_related("assignees", "labels")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user