From 7ea7aecde509376b88ca1f289129827f55c24c27 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 9 Mar 2006 06:09:09 +0000 Subject: [PATCH] Bug 323905: "Group" "isn't equal to" boolean chart does not work correctly - Patch by Joel Peshkin r=vladd a=justdave --- Bugzilla/Search.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 2233ed514b..b2faaf1cb6 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -742,11 +742,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"; }, "^attachments\..*," => sub { my $table = "attachments_$chartid"; -- 2.47.2