diff --git a/CHANGELOG.md b/CHANGELOG.md index ee9221c84e..1e89263188 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft +- Unable to navigate to home page from search results page after clicking Back button on browser. [#2238](https://github.com/bigcommerce/cornerstone/issues/2238) - Bump webpack-bundle-analyzer [#2229]https://github.com/bigcommerce/cornerstone/pull/2229 ## 6.5.0 (06-24-2022) diff --git a/assets/js/theme/global/quick-search.js b/assets/js/theme/global/quick-search.js index eefcbdd249..7c3c7ba6e6 100644 --- a/assets/js/theme/global/quick-search.js +++ b/assets/js/theme/global/quick-search.js @@ -88,7 +88,6 @@ export default function () { return; } - urlUtils.goToUrl(`${searchUrl}?search_query=${encodeURIComponent(searchQuery)}`); - window.location.reload(); + window.location.href = `${searchUrl}?search_query=${encodeURIComponent(searchQuery)}`; }); }