Fixed: let the aggregator "Activity by type" be shown again

This commit is contained in:
2022-11-17 19:01:06 +01:00
parent 3ebf3ae148
commit 88fb48e2be
2 changed files with 9 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ class ActivityTypeAggregator implements AggregatorInterface
public function alterQuery(QueryBuilder $qb, $data)
{
if (!in_array('acttype', $qb->getAllAliases(), true)) {
$qb->join('activity.activityType', 'acttype');
$qb->leftJoin('activity.activityType', 'acttype');
}
$qb->addSelect(sprintf('IDENTITY(activity.activityType) AS %s', self::KEY));