]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 583614: Simple Search no longer works
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 4 Aug 2010 17:15:00 +0000 (19:15 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 4 Aug 2010 17:15:00 +0000 (19:15 +0200)
r/a=mkanat

Bugzilla/Search.pm

index 3408c2d553fd78a634d96c6316f0fa6d7af26766..7a6fe60f29e305544e911da6d5a4c09feb16d384 100644 (file)
@@ -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