Skip to content

Commit 49f8d40

Browse files
committed
Keep direct filters
1 parent 8210072 commit 49f8d40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Database/Database.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9261,7 +9261,10 @@ private function resolveRelationshipGroupToIds(
92619261
return null;
92629262
}
92639263

9264-
$relatedQueries = [Query::equal('$id', $matchingIds)];
9264+
$relatedQueries = \array_values(\array_merge(
9265+
\array_filter($relatedQueries, fn (Query $q) => !\str_contains($q->getAttribute(), '.')),
9266+
[Query::equal('$id', $matchingIds)]
9267+
));
92659268
}
92669269

92679270
$needsParentResolution = (

0 commit comments

Comments
 (0)