[PE-93] regression: mentions in space app, entity search (#6250)
* fix: mentions in space app * fix: user entity filter
This commit is contained in:
parent
d2c0940f04
commit
33acb9e8ed
2 changed files with 2 additions and 11 deletions
|
|
@ -274,11 +274,7 @@ class SearchEndpoint(BaseAPIView):
|
|||
q |= Q(**{f"{field}__icontains": query})
|
||||
users = (
|
||||
ProjectMember.objects.filter(
|
||||
q,
|
||||
member=self.request.user,
|
||||
is_active=True,
|
||||
project_id=project_id,
|
||||
workspace__slug=slug,
|
||||
q, is_active=True, project_id=project_id, workspace__slug=slug
|
||||
)
|
||||
.annotate(
|
||||
member__avatar_url=Case(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue