search query fix for "any"

This commit is contained in:
SJ 2012-12-04 21:26:26 +01:00
parent 2de295008e
commit 1feb01384f

View File

@ -260,7 +260,7 @@ class ModelSearchSearch extends Model {
$data['any'] = $this->fixup_meta_characters($data['any']);
$data['any'] = $this->fixup_sphinx_operators($data['any']);
$data['any'] = $this->fix_email_address_for_sphinx($data['any']);
if($match) { $match = "($match) & "; } $match .= "(@subject,@body" . $data['any'] . ") ";
if($match) { $match = "($match) & "; } $match .= "(" . $data['any'] . ") ";
}