Skip to content

Commit c79045b

Browse files
committed
Fixed issue with join being inner instead of left join
1 parent ff730ef commit c79045b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doctrine/Orm/DataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function getCollection(ResourceInterface $resource, Request $request)
127127
$mapping = $classMetaData->associationMappings[$association];
128128

129129
if (ClassMetadataInfo::FETCH_EAGER === $mapping['fetch']) {
130-
$queryBuilder->join('o.'.$association, 'a'.$i);
130+
$queryBuilder->leftJoin('o.'.$association, 'a'.$i);
131131
$queryBuilder->addSelect('a'.$i);
132132
}
133133
}

0 commit comments

Comments
 (0)