From fb8765db09c93d57dde29c61a3b2dd5aca2ad7c5 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Wed, 6 Jul 2022 15:04:22 +0200 Subject: [PATCH] Updated hash path for opening search modal refs https://github.com/TryGhost/Team/issues/1665 - updates hash path for opening search from `#/sodo-search` to `#/search` --- ghost/sodo-search/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/sodo-search/src/App.js b/ghost/sodo-search/src/App.js index 3eada37915..5ad4afde04 100644 --- a/ghost/sodo-search/src/App.js +++ b/ghost/sodo-search/src/App.js @@ -43,7 +43,7 @@ export default class App extends React.Component { handleSearchUrl() { const [path] = window.location.hash.substr(1).split('?'); - if (path === '/sodo-search') { + if (path === '/search' || path === '/search/') { this.setState({ showPopup: true });