From e3acfd9a4cd45ff33472767ef0c3a40c94a5f65f Mon Sep 17 00:00:00 2001 From: sunhao Date: Wed, 10 Sep 2025 09:39:09 +0800 Subject: [PATCH] * [bug #65335] skip to open search from on open from doc. --- module/product/ui/browse.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/ui/browse.html.php b/module/product/ui/browse.html.php index 803bbcfa45..0a0c74f333 100644 --- a/module/product/ui/browse.html.php +++ b/module/product/ui/browse.html.php @@ -477,7 +477,7 @@ featureBar li(searchToggle ( set::simple($isFromDoc), - set::open($browseType == 'bysearch' || $storyBrowseType == 'bysearch'), + set::open(!$isFromDoc && ($browseType == 'bysearch' || $storyBrowseType == 'bysearch')), set::module($config->product->search['module']), $isFromDoc ? set::target('#docSearchForm') : null, $isFromDoc ? set::onSearch(jsRaw('function(){$(this.element).closest(".modal").find("#featureBar .nav-item>.active").removeClass("active").find(".label").hide()}')) : null