mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
exports: add a new user scope filter
This commit is contained in:
@@ -26,19 +26,19 @@ services:
|
||||
tags:
|
||||
- { name: chill.export, alias: list_person_duplicate }
|
||||
|
||||
chill.person.export.count_accompanying_course:
|
||||
chill.person.export.count_accompanyingcourse:
|
||||
class: Chill\PersonBundle\Export\Export\CountAccompanyingCourse
|
||||
arguments:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
tags:
|
||||
- { name: chill.export, alias: count_accompanying_course }
|
||||
- { name: chill.export, alias: count_accompanyingcourse }
|
||||
|
||||
chill.person.export.avg_accompanying_course_duration:
|
||||
chill.person.export.avg_accompanyingcourse_duration:
|
||||
class: Chill\PersonBundle\Export\Export\StatAccompanyingCourseDuration
|
||||
arguments:
|
||||
- '@Chill\PersonBundle\Repository\AccompanyingPeriodRepository'
|
||||
tags:
|
||||
- { name: chill.export, alias: avg_accompanying_course_duration }
|
||||
- { name: chill.export, alias: avg_accompanyingcourse_duration }
|
||||
|
||||
chill.person.export.filter_gender:
|
||||
class: Chill\PersonBundle\Export\Filter\GenderFilter
|
||||
@@ -58,6 +58,14 @@ services:
|
||||
autoconfigure: true
|
||||
tags:
|
||||
- { name: chill.export_filter, alias: person_nationality_filter }
|
||||
|
||||
chill.person.export.filter_userscope:
|
||||
class: Chill\PersonBundle\Export\Filter\UserScopeFilter
|
||||
arguments:
|
||||
$translator: '@translator'
|
||||
$translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper'
|
||||
tags:
|
||||
- { name: chill.export_filter, alias: accompanyingcourse_userscope_filter }
|
||||
|
||||
chill.person.export.aggregator_nationality:
|
||||
class: Chill\PersonBundle\Export\Aggregator\NationalityAggregator
|
||||
|
Reference in New Issue
Block a user