From 1de853a88ba9d0f707764e598016cb26b35e4989 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 18 Aug 2022 10:58:05 +0200 Subject: [PATCH] fix count appointment indicator --- .../ChillCalendarBundle/Export/Export/CountAppointments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php b/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php index d212a58f1..e47288edc 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php @@ -84,7 +84,7 @@ class CountAppointments implements ExportInterface, GroupedExportInterface $qb = $this->calendarRepository->createQueryBuilder('cal'); - $qb->select('COUNT(appointment.id) AS export_result'); + $qb->select('COUNT(cal.id) AS export_result'); return $qb; }