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

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;
}