N°2847 - Global search: Fix wrong history results parameter (was using the one from "quick create")

This commit is contained in:
Molkobain
2021-01-13 10:47:03 +01:00
parent 9221899525
commit 9fccb6dd3f

View File

@@ -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');
}
/**