From 91a5db4c14bea289d80edaea8656e612ee720e7f Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Thu, 15 Sep 2022 16:07:00 +0200 Subject: [PATCH] fix origin alias in qb --- .../AccompanyingCourseAggregators/OriginAggregator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/OriginAggregator.php b/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/OriginAggregator.php index 4c784e08d..925160a2d 100644 --- a/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/OriginAggregator.php +++ b/src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/OriginAggregator.php @@ -45,7 +45,7 @@ final class OriginAggregator implements AggregatorInterface $qb->join('acp.origin', 'acporigin'); } - $qb->addSelect('o.id AS origin_aggregator'); + $qb->addSelect('acporigin.id AS origin_aggregator'); $groupby = $qb->getDQLPart('groupBy');