Commit 418fb4bf authored by wurblzap%gmail.com's avatar wurblzap%gmail.com

Bug 318171: Looking for group members finds grant right holders, too.

Patch by Marc Schumann <wurblzap@gmail.com>, r=LpSolit, a=justdave
parent 92ac33e1
......@@ -138,7 +138,8 @@ if ($action eq 'search') {
my $grouplist = join(',',
@{Bugzilla::User->flatten_group_membership($group->id)});
$query .= " $nextCondition profiles.userid = ugm.user_id " .
"AND ugm.group_id IN($grouplist)";
"AND ugm.group_id IN($grouplist) " .
"AND ugm.isbless = 0";
}
$query .= ' ORDER BY profiles.login_name';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment