Index: mozilla/webtools/bugzilla/Bugzilla/Search.pm =================================================================== RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v retrieving revision 1.146 diff -up -r1.146 mozilla/webtools/bugzilla/Bugzilla/Search.pm --- mozilla/webtools/bugzilla/Bugzilla/Search.pm +++ mozilla/webtools/bugzilla/Bugzilla/Search.pm @@ -114,6 +114,7 @@ sub init { my @groupby; @fields = @$fieldsref if $fieldsref; my @specialchart; + my @specialchartnegate; my @andlist; my %chartfields; @@ -272,7 +273,10 @@ sub init { push(@clist, "commenter", $type, $email); } if (@clist) { - push(@specialchart, \@clist); + my $slot = push(@specialchart, \@clist); + if ($params->param("negate$id") { + $specialchartnegate[$slot - 1] = 1; + } } else { ThrowUserError("missing_email_type", { email => $email }); @@ -1176,6 +1180,9 @@ sub init { my $row = 0; foreach my $ref (@specialchart) { my $col = 0; + if (defined $specialchartnegate[$row]) { + $params->param("negate$chart-$row", 1); + } while (@$ref) { $params->param("field$chart-$row-$col", shift(@$ref)); $params->param("type$chart-$row-$col", shift(@$ref)); Index: mozilla/webtools/bugzilla/template/en/default/search/form.html.tmpl =================================================================== RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/search/form.html.tmpl,v retrieving revision 1.49 diff -up -r1.49 mozilla/webtools/bugzilla/template/en/default/search/form.html.tmpl --- mozilla/webtools/bugzilla/template/en/default/search/form.html.tmpl +++ mozilla/webtools/bugzilla/template/en/default/search/form.html.tmpl @@ -453,7 +453,10 @@ function doOnSelectProduct(selectmode) {
| - Any one of: + of: |