Skip to content

Commit 2992943

Browse files
authored
[BUGFIX] Fix m:n relations filter (#133)
Fixes #130
1 parent 392b90c commit 2992943

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Classes/Filter/AbstractFilter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ protected function addJoinsForNestedProperty(
4242
$parentClassName = $query->getType();
4343

4444
$dataMapFactory = GeneralUtility::makeInstance(DataMapFactory::class);
45-
$dataMapper = GeneralUtility::makeInstance(DataMapper::class, $query);
45+
$dataMapper = GeneralUtility::makeInstance(DataMapper::class);
46+
$dataMapper->setQuery($query);
4647

4748
$parentAlias = $rootAlias;
4849

0 commit comments

Comments
 (0)