Skip to content

Commit 2788610

Browse files
authored
Merge pull request #716 from nishizoe/t-4686
(fixed #4686, BP from #4685) JSON API にてコミュニティメンバーリストを取得する際に参加申請中メンバーも含めていたため修正
2 parents bcdc9b2 + 8bb4d45 commit 2788610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/modules/member/actions/actions.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function executeSearch(sfWebRequest $request)
6565
}
6666
if ('community' === $request['target'])
6767
{
68-
$query->andWhere('EXISTS (FROM CommunityMember cm WHERE m.id = cm.member_id AND cm.community_id = ?)', $targetId);
68+
$query->andWhere('EXISTS (FROM CommunityMember cm WHERE m.id = cm.member_id AND cm.community_id = ? AND cm.is_pre = false)', $targetId);
6969
}
7070
}
7171

0 commit comments

Comments
 (0)