rename more generic for use in other exports

This commit is contained in:
Julie Lenaerts 2022-07-28 15:57:02 +02:00
parent d59a22597d
commit 635fe819a6
3 changed files with 9 additions and 9 deletions

View File

@ -22,7 +22,7 @@ use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Security\Core\Security; use Symfony\Component\Security\Core\Security;
use Symfony\Contracts\Translation\TranslatorInterface; use Symfony\Contracts\Translation\TranslatorInterface;
class ReferrerJobFilter implements FilterInterface class JobFilter implements FilterInterface
{ {
protected TranslatorInterface $translator; protected TranslatorInterface $translator;
@ -95,6 +95,6 @@ class ReferrerJobFilter implements FilterInterface
public function getTitle() public function getTitle()
{ {
return 'Filter by job'; return 'Filter by user job';
} }
} }

View File

@ -21,7 +21,7 @@ use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Contracts\Translation\TranslatorInterface; use Symfony\Contracts\Translation\TranslatorInterface;
class ReferrerScopeFilter implements FilterInterface class ScopeFilter implements FilterInterface
{ {
protected TranslatorInterface $translator; protected TranslatorInterface $translator;

View File

@ -22,19 +22,19 @@ services:
# tags: # tags:
# - { name: chill.export_filter, alias: social_work_type_filter } # - { name: chill.export_filter, alias: social_work_type_filter }
chill.person.export.filter_userscope: chill.person.export.filter_scope:
class: Chill\PersonBundle\Export\Filter\referrerScopeFilter class: Chill\PersonBundle\Export\Filter\ScopeFilter
autowire: true autowire: true
autoconfigure: true autoconfigure: true
tags: tags:
- { name: chill.export_filter, alias: social_work_actions_referrerscope_filter } - { name: chill.export_filter, alias: social_work_actions_scope_filter }
chill.person.export.filter_referrerjob: chill.person.export.filter_job:
class: Chill\PersonBundle\Export\Filter\referrerJobFilter class: Chill\PersonBundle\Export\Filter\JobFilter
autowire: true autowire: true
autoconfigure: true autoconfigure: true
tags: tags:
- { name: chill.export_filter, alias: social_work_actions_referrerjob_filter } - { name: chill.export_filter, alias: social_work_actions_job_filter }
## AGGREGATORS ## AGGREGATORS
chill.person.export.aggregator_referrer: chill.person.export.aggregator_referrer: