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

@ -114,7 +114,7 @@ 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
)); ));