mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 22:04:23 +00:00
rename more generic for use in other exports
This commit is contained in:
parent
d59a22597d
commit
635fe819a6
@ -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';
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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;
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user