From 1f9766c97d71fa67b10c21aeb558891f91f83ff2 Mon Sep 17 00:00:00 2001 From: TuNa Date: Mon, 26 Oct 2020 07:15:15 +0700 Subject: [PATCH] Fix minisearch not appear when disable suggestions search update --- .../view/frontend/templates/form.mini.phtml | 38 ++++--- .../Search/view/frontend/web/js/form-mini.js | 100 +++++++++--------- 2 files changed, 72 insertions(+), 66 deletions(-) diff --git a/app/code/Magento/Search/view/frontend/templates/form.mini.phtml b/app/code/Magento/Search/view/frontend/templates/form.mini.phtml index 80e720e2c2fe2..34cae80017f7c 100644 --- a/app/code/Magento/Search/view/frontend/templates/form.mini.phtml +++ b/app/code/Magento/Search/view/frontend/templates/form.mini.phtml @@ -4,40 +4,32 @@ * See COPYING.txt for license details. */ -// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis ?> helper(\Magento\Search\Helper\Data::class); $configProvider = $block->getData('configProvider'); ?>