Skip to content

Commit

Permalink
EZP-31287: Fixed FullTextCriterionHandler query (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartek committed Oct 29, 2020
1 parent 04bde0e commit 32c8a7a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -180,7 +180,7 @@ protected function getWordIdSubquery(QueryBuilder $query, string $string): strin
}

// Search for provided string itself as well
$wordExpressions[] = $this->getWordExpression($subQuery, $string);
$wordExpressions[] = $this->getWordExpression($query, $string);

$whereCondition = $subQuery->expr()->orX(...$wordExpressions);

Expand Down

0 comments on commit 32c8a7a

Please sign in to comment.