From 7d8e8df0c513d22bf42aa9ce0d7685f036da19fa Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 10 Sep 2019 10:42:21 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02272=20-=20OQL=20performance=20(fix=202.?= =?UTF-8?q?5=20regression)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/dbunionsearch.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbunionsearch.class.php b/core/dbunionsearch.class.php index 01a0e2a8b..72769ca42 100644 --- a/core/dbunionsearch.class.php +++ b/core/dbunionsearch.class.php @@ -498,7 +498,7 @@ class DBUnionSearch extends DBSearch { if (count($this->aSearches) == 1) { - return $this->aSearches[0]->GetSQLQueryStructure($aAttToLoad, $bGetCount, $aGroupByExpr, $aSelectExpr); + return $this->aSearches[0]->GetSQLQueryStructure($aAttToLoad, $bGetCount, $aGroupByExpr, $aSelectedClasses, $aSelectExpr); } $aSQLQueries = array();