mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
define queryKey in 11 aggregators
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user