From ada28265ee4d3dea2aabb4c757d5dfe618bc4fbf Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 4 Oct 2023 14:26:06 +0200 Subject: [PATCH] change join to leftjoin --- src/Bundle/ChillCalendarBundle/Export/Export/CountCalendars.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/CountCalendars.php b/src/Bundle/ChillCalendarBundle/Export/Export/CountCalendars.php index 53be661a3..2b0488b61 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/CountCalendars.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/CountCalendars.php @@ -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);