From 62562cc57efc1753e721c16796440ba6c624b778 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 17 Aug 2022 17:37:05 +0200 Subject: [PATCH] rename querybuilder calendar --- .../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 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');