[Export][person] Fixed: error and more precision on household

composition

A filter and two aggregators create a join between composition and
household, but with a parameter at different date.

Each aggregator and filter now have a custom alias, to allow to set this
date parameter on each join.
This commit is contained in:
2022-09-26 16:45:36 +02:00
parent 2c46886e36
commit 95f7622923
5 changed files with 57 additions and 92 deletions

View File

@@ -536,8 +536,8 @@ class ExportManager
. 'an ExportInterface.');
}
if (null === $centers || [] === $centers) {
// we want to try if at least one center is reachable
if (null === $centers || [] !== $centers) {
// we want to try if at least one center is reachabler
return [] !== $this->authorizationHelper->getReachableCenters(
$this->user,
$role