mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
define queryKey in 11 aggregators
This commit is contained in:
@@ -25,8 +25,8 @@ class ByActionNumberAggregator implements AggregatorInterface
|
||||
|
||||
public function alterQuery(QueryBuilder $qb, $data)
|
||||
{
|
||||
$qb->addSelect('AS _aggregator')
|
||||
->addGroupBy('_aggregator');
|
||||
$qb->addSelect('AS acp_by_action_number_aggregator')
|
||||
->addGroupBy('acp_by_action_number_aggregator');
|
||||
}
|
||||
|
||||
public function applyOn(): string
|
||||
@@ -50,7 +50,7 @@ class ByActionNumberAggregator implements AggregatorInterface
|
||||
|
||||
public function getQueryKeys($data): array
|
||||
{
|
||||
return ['_aggregator'];
|
||||
return ['acp_by_action_number_aggregator'];
|
||||
}
|
||||
|
||||
public function getTitle(): string
|
||||
|
@@ -25,8 +25,8 @@ class CreatorJobAggregator implements AggregatorInterface
|
||||
|
||||
public function alterQuery(QueryBuilder $qb, $data)
|
||||
{
|
||||
$qb->addSelect('AS _aggregator')
|
||||
->addGroupBy('_aggregator');
|
||||
$qb->addSelect('AS acp_creator_job_aggregator')
|
||||
->addGroupBy('acp_creator_job_aggregator');
|
||||
}
|
||||
|
||||
public function applyOn(): string
|
||||
@@ -50,7 +50,7 @@ class CreatorJobAggregator implements AggregatorInterface
|
||||
|
||||
public function getQueryKeys($data): array
|
||||
{
|
||||
return ['_aggregator'];
|
||||
return ['acp_creator_job_aggregator'];
|
||||
}
|
||||
|
||||
public function getTitle(): string
|
||||
|
Reference in New Issue
Block a user