diff --git a/backend/LexBoxApi/Services/UserService.cs b/backend/LexBoxApi/Services/UserService.cs index 028e4692e..dc3f3a29f 100644 --- a/backend/LexBoxApi/Services/UserService.cs +++ b/backend/LexBoxApi/Services/UserService.cs @@ -91,6 +91,7 @@ public IQueryable UserQueryForTypeahead(LexAuthUser user) var myProjectIds = user.Projects.Select(p => p.ProjectId).ToList(); var myManagedProjectIds = user.Projects.Where(p => p.Role == ProjectRole.Manager).Select(p => p.ProjectId).ToList(); return dbContext.Users.Where(u => + u.Id == user.Id || u.Organizations.Any(orgMember => myOrgIds.Contains(orgMember.OrgId)) || u.Projects.Any(projMember => myManagedProjectIds.Contains(projMember.ProjectId) ||