From: Frédéric Buclin Date: Wed, 4 Aug 2010 17:15:00 +0000 (+0200) Subject: Bug 583614: Simple Search no longer works X-Git-Tag: bugzilla-4.1.1~327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72507fa0e0f3e0bcd1eb327c3d0c89932fd2c7fb;p=thirdparty%2Fbugzilla.git Bug 583614: Simple Search no longer works r/a=mkanat --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 3408c2d553..7a6fe60f29 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1209,7 +1209,7 @@ sub _parse_basic_fields { my @values = $self->_param_array($param_name); next if !@values; my $operator = $params->{"${param_name}_type"} || 'anyexact'; - $operator = 'matches' if $operator eq 'content'; + $operator = 'matches' if $param_name eq 'content'; # Fields that are displayed as multi-selects are passed as arrays, # so that they can properly search values that contain commas. # However, other fields are sent as strings, so that they are properly