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\Contracts\Translation\TranslatorInterface;
class ReferrerJobFilter implements FilterInterface
class JobFilter implements FilterInterface
{
protected TranslatorInterface $translator;
@ -95,6 +95,6 @@ class ReferrerJobFilter implements FilterInterface
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\Contracts\Translation\TranslatorInterface;
class ReferrerScopeFilter implements FilterInterface
class ScopeFilter implements FilterInterface
{
protected TranslatorInterface $translator;

View File

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