PMC-1227
This commit is contained in:
@@ -118,7 +118,8 @@ trait SuggestTrait
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($optionsLimit >= 0) {
|
// Define if we need to add a limit in the query
|
||||||
|
if ($optionsLimit > 0) {
|
||||||
$this->addSuggestLimit($json, $select, $limit, $where);
|
$this->addSuggestLimit($json, $select, $limit, $where);
|
||||||
} else {
|
} else {
|
||||||
$this->addSuggestWhere($json, $parsed, $select, $where, $having);
|
$this->addSuggestWhere($json, $parsed, $select, $where, $having);
|
||||||
|
|||||||
Reference in New Issue
Block a user