mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
adjust property name to make it work with changes calendar bundle
This commit is contained in:
@@ -40,7 +40,7 @@ class CancelReasonAggregator implements AggregatorInterface
|
||||
|
||||
public function alterQuery(QueryBuilder $qb, $data)
|
||||
{
|
||||
// TODO: still needs to take into account appointments without a cancel reason somehow
|
||||
// TODO: still needs to take into account calendars without a cancel reason somehow
|
||||
if (!in_array('calcancel', $qb->getAllAliases(), true)) {
|
||||
$qb->join('cal.cancelReason', 'calcancel');
|
||||
}
|
||||
@@ -88,6 +88,6 @@ class CancelReasonAggregator implements AggregatorInterface
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return 'Group appointments by cancel reason';
|
||||
return 'Group calendars by cancel reason';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user