fix goal aggregator error

This commit is contained in:
Mathieu Jaumotte 2022-09-19 11:46:53 +02:00
parent d30ac75995
commit 37d49e1123

View File

@ -41,7 +41,7 @@ final class GoalAggregator implements AggregatorInterface
$qb->join('acpw.goals', 'goal');
}
$qb->addSelect('goal.id as goal_aggregator');
$qb->addSelect('IDENTITY(goal.goal) as goal_aggregator');
$groupBy = $qb->getDQLPart('groupBy');
@ -70,7 +70,7 @@ final class GoalAggregator implements AggregatorInterface
}
$g = $this->goalRepository->find($value);
return $this->translatableStringHelper->localize(
$g->getTitle()
);