Skip to content

Commit

Permalink
Merge 6622fcd into 4f363fc
Browse files Browse the repository at this point in the history
  • Loading branch information
hogren committed Jul 17, 2021
2 parents 4f363fc + 6622fcd commit b86bcdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Bridge/Doctrine/Orm/Filter/SearchFilter.php
Expand Up @@ -219,7 +219,9 @@ protected function addWhereByStrategy(string $strategy, QueryBuilder $queryBuild
}

$queryBuilder->andWhere($queryBuilder->expr()->orX(...$ors));
array_walk($parameters, [$queryBuilder, 'setParameter']);
foreach ($parameters as $value => $name) {
$queryBuilder->setParameter($name, (string) $value);
}
}

/**
Expand Down

0 comments on commit b86bcdd

Please sign in to comment.