mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix cs
This commit is contained in:
parent
36b1f05524
commit
c477996acf
@ -98,7 +98,7 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
|
|||||||
->setExtras([
|
->setExtras([
|
||||||
'order' => 99999,
|
'order' => 99999,
|
||||||
]);
|
]);
|
||||||
*/
|
*/
|
||||||
if (
|
if (
|
||||||
'visible' === $this->showAccompanyingPeriod
|
'visible' === $this->showAccompanyingPeriod
|
||||||
&& $this->security->isGranted(AccompanyingPeriodVoter::SEE, $parameters['person'])
|
&& $this->security->isGranted(AccompanyingPeriodVoter::SEE, $parameters['person'])
|
||||||
|
@ -114,10 +114,10 @@ class ThirdPartyApiSearch implements SearchApiInterface
|
|||||||
...$pertinenceArgs
|
...$pertinenceArgs
|
||||||
))
|
))
|
||||||
->andWhereClause(implode(' AND ', $wheres)
|
->andWhereClause(implode(' AND ', $wheres)
|
||||||
.' AND tparty.active IS TRUE and (parent.active IS TRUE OR parent IS NULL)', array_merge(
|
. ' AND tparty.active IS TRUE and (parent.active IS TRUE OR parent IS NULL)', array_merge(
|
||||||
[],
|
[],
|
||||||
...$whereArgs
|
...$whereArgs
|
||||||
));
|
));
|
||||||
|
|
||||||
return $query;
|
return $query;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user