From 3881079d6dc162d7b68ffd330a9a18281400822a Mon Sep 17 00:00:00 2001 From: bstankix Date: Tue, 26 Sep 2023 15:00:07 +0200 Subject: [PATCH] [DOCS] Bugfix coveo sa-search url (#20057) --- docs/_static/js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_static/js/custom.js b/docs/_static/js/custom.js index 9f2888ff2a0d53..489f63295266b2 100644 --- a/docs/_static/js/custom.js +++ b/docs/_static/js/custom.js @@ -372,7 +372,7 @@ document.addEventListener('DOMContentLoaded', function () { if (searchInterfaceSa) { let ver = getCurrentVersion(); if (ver) { - searchInterfaceSa.innerHTML = searchInterfaceSa.innerHTML.replace('search.html', 'search.html#f-ovversion=' + ver); + searchInterfaceSa.innerHTML = searchInterfaceSa.innerHTML.replace('search.html', '/' + ver +'/search.html#f-ovversion=' + ver); } await searchInterfaceSa.initialize({ accessToken: "xx1f2aebd3-4307-4632-aeea-17c13378b237",