mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 00:55:01 +00:00
fix goal aggregator error
This commit is contained in:
@@ -41,7 +41,7 @@ final class GoalAggregator implements AggregatorInterface
|
|||||||
$qb->join('acpw.goals', 'goal');
|
$qb->join('acpw.goals', 'goal');
|
||||||
}
|
}
|
||||||
|
|
||||||
$qb->addSelect('goal.id as goal_aggregator');
|
$qb->addSelect('IDENTITY(goal.goal) as goal_aggregator');
|
||||||
|
|
||||||
$groupBy = $qb->getDQLPart('groupBy');
|
$groupBy = $qb->getDQLPart('groupBy');
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ final class GoalAggregator implements AggregatorInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
$g = $this->goalRepository->find($value);
|
$g = $this->goalRepository->find($value);
|
||||||
|
|
||||||
return $this->translatableStringHelper->localize(
|
return $this->translatableStringHelper->localize(
|
||||||
$g->getTitle()
|
$g->getTitle()
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user