adjust property name to make it work with changes calendar bundle

This commit is contained in:
2022-09-08 11:25:50 +02:00
parent c1c472f546
commit 48548e020f
6 changed files with 6 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ final class ScopeAggregator implements AggregatorInterface
public function alterQuery(QueryBuilder $qb, $data)
{
if (!in_array('caluser', $qb->getAllAliases(), true)) {
$qb->join('cal.user', 'caluser');
$qb->join('cal.mainUser', 'caluser');
}
$qb->addSelect('IDENTITY(caluser.mainScope) as scope_aggregator');