diff --git a/src/Bundle/ChillEventBundle/Export/Export/CountEvents.php b/src/Bundle/ChillEventBundle/Export/Export/CountEvents.php index 6ecfa3f43..7cb98b5a6 100644 --- a/src/Bundle/ChillEventBundle/Export/Export/CountEvents.php +++ b/src/Bundle/ChillEventBundle/Export/Export/CountEvents.php @@ -94,7 +94,7 @@ readonly class CountEvents implements ExportInterface, GroupedExportInterface ->leftJoin('event.participations', 'epart') ->leftJoin('epart.person', 'person'); - $qb->select('COUNT(event.id) as export_count_event'); + $qb->select('COUNT(DISTINCT event.id) as export_count_event'); if ($this->filterStatsByCenters) { $qb