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