From d87cd0c68561ef9b78514668117afceac666def3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 22 Jul 2023 23:50:12 +0200 Subject: [PATCH] Fix DI for ReportDateFilter --- src/Bundle/ChillReportBundle/config/services/export.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Bundle/ChillReportBundle/config/services/export.yaml b/src/Bundle/ChillReportBundle/config/services/export.yaml index 9650b9e33..5f93cb820 100644 --- a/src/Bundle/ChillReportBundle/config/services/export.yaml +++ b/src/Bundle/ChillReportBundle/config/services/export.yaml @@ -7,8 +7,9 @@ services: $customFieldProvider: '@Chill\CustomFieldsBundle\Service\CustomFieldProvider' tags: - { name: chill.export_elements_provider, prefix: 'report' } - - chill.report.export.filter_date: - class: Chill\ReportBundle\Export\Filter\ReportDateFilter + + Chill\ReportBundle\Export\Filter\ReportDateFilter: + autowire: true + autoconfigure: true tags: - { name: chill.export_filter, alias: 'report_date_filter' }