minor changes

This commit is contained in:
2022-08-30 13:14:40 +02:00
parent cf642d2783
commit 72b5fcf998
3 changed files with 13 additions and 5 deletions

View File

@@ -60,6 +60,7 @@ class CancelReasonAggregator implements AggregatorInterface
public function alterQuery(QueryBuilder $qb, $data)
{
// TODO: still needs to take into account appointments without a cancel reason somehow
$qb->join('cal.cancelReason', 'cr');
$qb->addSelect('IDENTITY(cal.cancelReason) as cancel_reason_aggregator');