change join to leftjoin

This commit is contained in:
Julie Lenaerts 2023-10-04 14:26:06 +02:00
parent 9bbddd8405
commit ada28265ee

View File

@ -100,7 +100,7 @@ class CountCalendars implements ExportInterface, GroupedExportInterface
$qb = $this->calendarRepository->createQueryBuilder('cal');
$qb->select('COUNT(cal.id) AS export_result');
$qb->join('cal.accompanyingPeriod', 'acp');
$qb->leftJoin('cal.accompanyingPeriod', 'acp');
AccompanyingCourseExportHelper::addClosingMotiveExclusionClause($qb);