diff --git a/pages/UI.php b/pages/UI.php index 236776133..750eead4e 100644 --- a/pages/UI.php +++ b/pages/UI.php @@ -556,7 +556,7 @@ try $sQueryLabel = $sFullText; } GlobalSearchHelper::AddQueryToHistory($sQuery, $sQueryIconUrl, $sQueryLabel); - $oP->AddBlockParam('global_search.query', $sQuery); + $oP->SetBlockParam('ibo-global-search.sQuery', $sQuery); // Check the needle length $iMinLenth = MetaModel::GetConfig()->Get('full_text_needle_min'); diff --git a/templates/base/components/global-search/layout.html.twig b/templates/base/components/global-search/layout.html.twig index 4456c5ca7..d752115b4 100644 --- a/templates/base/components/global-search/layout.html.twig +++ b/templates/base/components/global-search/layout.html.twig @@ -1,7 +1,7 @@