Update AdvancedSearchQueryTerm.php
Fixed the use case of multiple condition and one of condition has keyword with multiple words
This commit is contained in:
parent
1805404b00
commit
c38487eb3b
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ class AdvancedSearchQueryTerm {
|
|||
return $value;
|
||||
}
|
||||
else {
|
||||
return $value . " OR " . str_replace('"', "", trim($value));
|
||||
return "(" .$value . " OR " . str_replace('"', "", trim($value)) . ")";
|
||||
}
|
||||
}
|
||||
if (!$this->getInclude()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue