Skip to content
Snippets Groups Projects
Commit feb7acde authored by Simonas Šerlinskas's avatar Simonas Šerlinskas
Browse files

fixed relevant logic

parent 32909db3
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ class QueryEndpoint extends AbstractSearchEndpoint implements OrderedNormalizerI
$queryArray = $this->bool->toArray();
if (!$this->bool->isRelevant()) {
if ($this->bool->isRelevant()) {
$queryArray = [$this->bool->getType() => $queryArray];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment