mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
chore: workspace active page filter (#5531)
This commit is contained in:
committed by
GitHub
parent
3d7098855f
commit
d265635f7e
@@ -24,7 +24,7 @@ class WorkspaceFavoriteEndpoint(BaseAPIView):
|
||||
workspace__slug=slug,
|
||||
parent__isnull=True,
|
||||
).filter(
|
||||
Q(project__isnull=True)
|
||||
Q(project__isnull=True) & ~Q(entity_type="page")
|
||||
| (
|
||||
Q(project__isnull=False)
|
||||
& Q(project__project_projectmember__member=request.user)
|
||||
|
||||
Reference in New Issue
Block a user