Skip to content

Commit 9204027

Browse files
oleg-andreyevsoyuka
authored andcommitted
missed doctrine type of bottom of filterProperty
1 parent 7e38af1 commit 9204027

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridge/Doctrine/Orm/Filter/SearchFilter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ protected function filterProperty(string $property, $value, QueryBuilder $queryB
168168
if (1 === \count($values)) {
169169
$queryBuilder
170170
->andWhere(sprintf('%s.%s = :%s', $associationAlias, $associationField, $valueParameter))
171-
->setParameter($valueParameter, $values[0]);
171+
->setParameter($valueParameter, $values[0], $doctrineTypeField);
172172
} else {
173173
$queryBuilder
174174
->andWhere(sprintf('%s.%s IN (:%s)', $associationAlias, $associationField, $valueParameter))
175-
->setParameter($valueParameter, $values);
175+
->setParameter($valueParameter, $values, $doctrineTypeField);
176176
}
177177
}
178178

0 commit comments

Comments
 (0)