We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bcdc9b2 + 8bb4d45 commit 2788610Copy full SHA for 2788610
apps/api/modules/member/actions/actions.class.php
@@ -65,7 +65,7 @@ public function executeSearch(sfWebRequest $request)
65
}
66
if ('community' === $request['target'])
67
{
68
- $query->andWhere('EXISTS (FROM CommunityMember cm WHERE m.id = cm.member_id AND cm.community_id = ?)', $targetId);
+ $query->andWhere('EXISTS (FROM CommunityMember cm WHERE m.id = cm.member_id AND cm.community_id = ? AND cm.is_pre = false)', $targetId);
69
70
71
0 commit comments