search operator for the "content" field.
r=mkanat, a=mkanat (module owner)
https://bugzilla.mozilla.org/show_bug.cgi?id=601370
$param_name =~ s/\./_/g;
my @values = $self->_param_array($param_name);
next if !@values;
- my $operator = $params->{"${param_name}_type"} || 'anyexact';
- $operator = 'matches' if $param_name eq 'content';
+ my $default_op = $param_name eq 'content' ? 'matches' : 'anyexact';
+ my $operator = $params->{"${param_name}_type"} || $default_op;
# 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