diff --git a/src/theme/SearchBar/index.js b/src/theme/SearchBar/index.js index 18ba256daa..bb8ef93366 100644 --- a/src/theme/SearchBar/index.js +++ b/src/theme/SearchBar/index.js @@ -42,7 +42,7 @@ function ResultsFooter({ state, onClose, productId }) { //TODO: figure this out //current search is disabled for calico-cloud // see docusaurus.config.js - version = '3.16' + version = '20-2' } const to = `/search?q=${encodeURIComponent(state.query)}&p=${productId || ''}&v=${version}`; diff --git a/src/theme/SearchPage/index.js b/src/theme/SearchPage/index.js index 01b6debea0..da70c14b2f 100644 --- a/src/theme/SearchPage/index.js +++ b/src/theme/SearchPage/index.js @@ -220,7 +220,7 @@ function SearchPageContent() { //current search is disabled for calico-cloud // see docusaurus.config.js if(productId === 'calico-cloud'){ - algoliaHelper.addDisjunctiveFacetRefinement('docusaurus_tag', `docs-calico-cloud-3.16`); + algoliaHelper.addDisjunctiveFacetRefinement('docusaurus_tag', `docs-calico-cloud-20-2`); }else{ algoliaHelper.addDisjunctiveFacetRefinement('docusaurus_tag', `docs-${productId}-${version}`); } @@ -233,7 +233,7 @@ function SearchPageContent() { //TODO: figure this out //current search is disabled for calico-cloud // see docusaurus.config.js - algoliaHelper.addDisjunctiveFacetRefinement('docusaurus_tag', `docs-calico-cloud-3.16`); + algoliaHelper.addDisjunctiveFacetRefinement('docusaurus_tag', `docs-calico-cloud-20-2`); } algoliaHelper.setQuery(searchQuery).setPage(page).search();