mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
[export] fix calendar scope/job Filters query + unit test (partial)
This commit is contained in:
@@ -71,7 +71,7 @@ final readonly class JobAggregator implements AggregatorInterface
|
||||
public function buildForm(FormBuilderInterface $builder)
|
||||
{
|
||||
$builder->add('job_at', PickRollingDateType::class, [
|
||||
'label' => 'export.aggregator.calendar.agent_job.Calc date',
|
||||
'label' => 'export.calendar.agent_job.Calc date',
|
||||
]);
|
||||
}
|
||||
|
||||
|
@@ -60,7 +60,8 @@ final readonly class ScopeAggregator implements AggregatorInterface
|
||||
->addSelect("IDENTITY({$p}_history.scope) AS {$p}_select")
|
||||
->setParameter(
|
||||
"{$p}_at",
|
||||
$this->rollingDateConverter->convert($data['scope_at']))
|
||||
$this->rollingDateConverter->convert($data['scope_at'])
|
||||
)
|
||||
->addGroupBy("{$p}_select");
|
||||
}
|
||||
|
||||
@@ -72,7 +73,7 @@ final readonly class ScopeAggregator implements AggregatorInterface
|
||||
public function buildForm(FormBuilderInterface $builder)
|
||||
{
|
||||
$builder->add('scope_at', PickRollingDateType::class, [
|
||||
'label' => 'export.aggregator.calendar.agent_scope.Calc date',
|
||||
'label' => 'export.calendar.agent_scope.Calc date',
|
||||
]);
|
||||
}
|
||||
public function getFormDefaultData(): array
|
||||
|
Reference in New Issue
Block a user