]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 323905: "Group" "isn't equal to" boolean chart does not work correctly - Patch...
authorlpsolit%gmail.com <>
Thu, 9 Mar 2006 05:52:31 +0000 (05:52 +0000)
committerlpsolit%gmail.com <>
Thu, 9 Mar 2006 05:52:31 +0000 (05:52 +0000)
Bugzilla/Search.pm

index 0914d69b029f640323ab03055b2b568d884a98e2..0e1f7057d1b7c0e56782ce13f1a7357652332e38 100644 (file)
@@ -766,11 +766,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