diff --git a/pages/UI.php b/pages/UI.php index a9668f5620..69ae67c65b 100644 --- a/pages/UI.php +++ b/pages/UI.php @@ -630,6 +630,7 @@ try $sQueryLabel = $sFullText; } GlobalSearchHelper::AddQueryToHistory($sQuery, $sQueryIconUrl, $sQueryLabel); + $oP->GetTopBarLayout()->GetGlobalSearch()->SetLastQueries(GlobalSearchHelper::GetLastQueries()); // Check the needle length $iMinLenth = MetaModel::GetConfig()->Get('full_text_needle_min');