diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index e4ce4ed87aa..7c83934f4be 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7352 \ No newline at end of file +7353 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/Search.pm b/mozilla/webtools/bugzilla/Bugzilla/Search.pm index c99fcde2821..f93743e2a2c 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Search.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Search.pm @@ -564,7 +564,8 @@ sub init { } foreach my $field ($params->param()) { - if (grep { $_->name eq $field } @legal_fields) { + my ($field_obj) = grep { $_->name eq $field } @legal_fields; + if ($field_obj) { my $type = $params->param("${field}_type"); my @values = $params->param($field); if (!$type) { @@ -577,7 +578,10 @@ sub init { } $type = 'matches' if $field eq 'content'; my $send_value = join(',', @values); - if ($type eq 'anyexact') { + if ( $type eq 'anyexact' + and ($field_obj->is_select or $field eq 'version' + or $field eq 'target_milestone') ) + { $send_value = \@values; } push(@specialchart, [$field, $type, $send_value]);