diff --git a/application/Espo/Core/SelectManagers/Base.php b/application/Espo/Core/SelectManagers/Base.php index c000216a95..f8526c53c4 100644 --- a/application/Espo/Core/SelectManagers/Base.php +++ b/application/Espo/Core/SelectManagers/Base.php @@ -206,12 +206,12 @@ class Base } } - $whereClause = $this->convertWhere($where); + $whereClause = $this->convertWhere($where, false, $result); $result['whereClause'] = array_merge($result['whereClause'], $whereClause); } - public function convertWhere(array $where, $ignoreAdditionaFilterTypes = false) + public function convertWhere(array $where, $ignoreAdditionaFilterTypes = false, &$result = null) { $whereClause = [];