exports evaluation: fix root query from acp

This commit is contained in:
2022-08-11 14:04:15 +02:00
parent 6e467a62d4
commit b8d187c82b
3 changed files with 8 additions and 9 deletions

View File

@@ -76,8 +76,7 @@ class EvaluationTypeAggregator implements AggregatorInterface
*/
public function alterQuery(QueryBuilder $qb, $data)
{
$qb->join('eval.evaluation', 'ev');
$qb->addSelect('ev.id AS evaluationtype_aggregator');
$qb->addSelect('IDENTITY(eval.evaluation) AS evaluationtype_aggregator');
$groupBy = $qb->getDQLPart('groupBy');