This commit is contained in:
Julien Fastré 2022-03-30 16:43:16 +02:00
parent 36b1f05524
commit c477996acf
2 changed files with 5 additions and 5 deletions

View File

@ -98,7 +98,7 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
->setExtras([
'order' => 99999,
]);
*/
*/
if (
'visible' === $this->showAccompanyingPeriod
&& $this->security->isGranted(AccompanyingPeriodVoter::SEE, $parameters['person'])

View File

@ -114,10 +114,10 @@ class ThirdPartyApiSearch implements SearchApiInterface
...$pertinenceArgs
))
->andWhereClause(implode(' AND ', $wheres)
.' AND tparty.active IS TRUE and (parent.active IS TRUE OR parent IS NULL)', array_merge(
[],
...$whereArgs
));
. ' AND tparty.active IS TRUE and (parent.active IS TRUE OR parent IS NULL)', array_merge(
[],
...$whereArgs
));
return $query;
}