From: lpsolit%gmail.com <> Date: Thu, 9 Mar 2006 05:59:46 +0000 (+0000) Subject: Bug 323905: "Group" "isn't equal to" boolean chart does not work correctly - Patch... X-Git-Tag: bugzilla-2.22~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44769952688f9ef36fabec6d0267ecfec3ddefcc;p=thirdparty%2Fbugzilla.git Bug 323905: "Group" "isn't equal to" boolean chart does not work correctly - Patch by Joel Peshkin r=vladd a=myk --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 9b6c5bca7f..48c3c1647d 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -765,11 +765,14 @@ sub init { push(@supptables, "LEFT JOIN bug_group_map AS bug_group_map_$chartid " . "ON bugs.bug_id = bug_group_map_$chartid.bug_id"); - + $ff = $f = "groups_$chartid.name"; + my $ref = $funcsbykey{",$t"}; + &$ref; push(@supptables, "LEFT JOIN groups AS groups_$chartid " . - "ON groups_$chartid.id = bug_group_map_$chartid.group_id"); - $f = "groups_$chartid.name"; + "ON groups_$chartid.id = bug_group_map_$chartid.group_id " . + "AND $term"); + $term = "$ff IS NOT NULL"; }, "^attach_data\.thedata,changed" => sub { # Searches for attachment data's change must search