Skip to content

Commit db33c9f

Browse files
authored
Fix filter alias for embeddables
1 parent 98a6570 commit db33c9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Service/Filters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function apply(QueryBuilder $qb, FormInterface $filters)
4040
$value = $filter->getData();
4141
}
4242

43-
$param = $alias . '_' . $field;
43+
$param = str_replace('.', '__', $alias) . '_' . $field;
4444

4545
$qb
4646
->andWhere($qb->expr()->$expr($alias . '.' . $field, ':' . $param))

0 commit comments

Comments
 (0)