chore: workspace active page filter (#5531)
This commit is contained in:
parent
3d7098855f
commit
d265635f7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue