mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:27:03 +02:00
fixed a sphinx query bug
This commit is contained in:
@ -269,7 +269,7 @@ class ModelSearchSearch extends Model {
|
||||
$data['any'] = $this->fixup_sphinx_operators($data['any']);
|
||||
$data['any'] = $this->fix_email_address_for_sphinx($data['any']);
|
||||
$fields = '';
|
||||
if($match) { $match = "($match) & "; } $match .= "(@subject " . $data['any'] . " | @body " . $data['any'] . ") ";
|
||||
if($match) { $match = "($match) & "; } $match .= "(@(subject,body) " . $data['any'] . ") ";
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user