add missing arguments to method alterQuery (wip)

This commit is contained in:
2025-02-24 16:49:15 +01:00
parent 791f5bb4be
commit 1751c65731
211 changed files with 235 additions and 223 deletions

View File

@@ -28,7 +28,7 @@ class BirthdateFilter implements ExportElementValidatedInterface, FilterInterfac
}
// here, we alter the query created by Export
public function alterQuery(\Doctrine\ORM\QueryBuilder $qb, $data)
public function alterQuery(\Doctrine\ORM\QueryBuilder $qb, $data, \Chill\MainBundle\Export\ExportGenerationContext $exportGenerationContext)
{
$where = $qb->getDQLPart('where');
// we create the clause here

View File

@@ -67,7 +67,7 @@ class CountPerson implements ExportInterface
return ['export_result'];
}
public function getResult($query, $data)
public function getResult($query, $data, \Chill\MainBundle\Export\ExportGenerationContext $context)
{
return $query->getQuery()->getResult(Query::HYDRATE_SCALAR);
}