diff options
author | lpsolit%gmail.com <> | 2006-03-09 06:52:31 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-09 06:52:31 +0100 |
commit | ebcf2fb8a8420f03a732e78599dc62f64bf05d2c (patch) | |
tree | cbdd1c6f208b59c84423f6eba5b4045fd4001404 /Bugzilla | |
parent | 5ce63a09c5771f16e33830981534bc392f4b67f7 (diff) | |
download | bugzilla-ebcf2fb8a8420f03a732e78599dc62f64bf05d2c.tar.gz bugzilla-ebcf2fb8a8420f03a732e78599dc62f64bf05d2c.tar.xz |
Bug 323905: "Group" "isn't equal to" boolean chart does not work correctly - Patch by Joel Peshkin <bugreport@peshkin.net> r=vladd a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Search.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 0914d69b0..0e1f7057d 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -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 |