summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-08-04 19:15:00 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-08-04 19:15:00 +0200
commit72507fa0e0f3e0bcd1eb327c3d0c89932fd2c7fb (patch)
tree8eb389263a9debc21df87e94b4bd70400019cc88
parentd97f7db57294d07201678f38523defe15a00c3ef (diff)
downloadbugzilla-72507fa0e0f3e0bcd1eb327c3d0c89932fd2c7fb.tar.gz
bugzilla-72507fa0e0f3e0bcd1eb327c3d0c89932fd2c7fb.tar.xz
Bug 583614: Simple Search no longer works
r/a=mkanat
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 3408c2d55..7a6fe60f2 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