From 9fccb6dd3f616bc8450be31fb20c8ad4f47abdb6 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Wed, 13 Jan 2021 10:47:03 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B02847=20-=20Global=20search:=20Fix=20wron?= =?UTF-8?q?g=20history=20results=20parameter=20(was=20using=20the=20one=20?= =?UTF-8?q?from=20"quick=20create")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/UI/Base/Component/GlobalSearch/GlobalSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/application/UI/Base/Component/GlobalSearch/GlobalSearch.php b/sources/application/UI/Base/Component/GlobalSearch/GlobalSearch.php index 5f835f6a7..5d392a69d 100644 --- a/sources/application/UI/Base/Component/GlobalSearch/GlobalSearch.php +++ b/sources/application/UI/Base/Component/GlobalSearch/GlobalSearch.php @@ -64,7 +64,7 @@ class GlobalSearch extends UIBlock parent::__construct($sId); $this->SetEndpoint(static::DEFAULT_ENDPOINT_REL_URL); $this->SetLastQueries($aLastQueries); - $this->iMaxHistoryResults = (int) MetaModel::GetConfig()->Get('quick_create.max_history_results'); + $this->iMaxHistoryResults = (int) MetaModel::GetConfig()->Get('global_search.max_history_results'); } /**