mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: subscribed issues are filtering (#2037)
This commit is contained in:
parent
af929ab741
commit
b496a62540
@ -337,7 +337,7 @@ class UserWorkSpaceIssues(BaseAPIView):
|
|||||||
|
|
||||||
issue_queryset = (
|
issue_queryset = (
|
||||||
Issue.issue_objects.filter(
|
Issue.issue_objects.filter(
|
||||||
(Q(assignees__in=[request.user]) | Q(created_by=request.user)),
|
(Q(assignees__in=[request.user]) | Q(created_by=request.user) | Q(issue_subscribers__subscriber=request.user)),
|
||||||
workspace__slug=slug,
|
workspace__slug=slug,
|
||||||
)
|
)
|
||||||
.annotate(
|
.annotate(
|
||||||
|
Loading…
Reference in New Issue
Block a user