define queryKey in 11 aggregators

This commit is contained in:
2022-10-28 16:59:11 +02:00
committed by Julien Fastré
parent f751d2e9ab
commit afb5ebc077
9 changed files with 27 additions and 27 deletions

View File

@@ -25,8 +25,8 @@ class SentReceivedAggregator implements AggregatorInterface
public function alterQuery(QueryBuilder $qb, $data)
{
$qb->addSelect('AS _aggregator')
->addGroupBy('_aggregator');
$qb->addSelect('AS activity_sent_received_aggregator')
->addGroupBy('activity_sent_received_aggregator');
}
public function applyOn(): string
@@ -50,7 +50,7 @@ class SentReceivedAggregator implements AggregatorInterface
public function getQueryKeys($data): array
{
return ['_aggregator'];
return ['activity_sent_received_aggregator'];
}
public function getTitle(): string