diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php b/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php index c4531a298..d212a58f1 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php @@ -82,7 +82,7 @@ class CountAppointments implements ExportInterface, GroupedExportInterface return $el['center']; }, $acl); - $qb = $this->calendarRepository->createQueryBuilder('appointment'); + $qb = $this->calendarRepository->createQueryBuilder('cal'); $qb->select('COUNT(appointment.id) AS export_result');