From 656a8b391fd45787fdfe1bf1b5c9a10e6173212d Mon Sep 17 00:00:00 2001 From: Leclerc Gwendal Date: Wed, 26 Oct 2016 11:09:28 +0200 Subject: [PATCH] fix: add baseUrl to lunr suggestions href --- static/js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/search.js b/static/js/search.js index 7af53f7adf..6fd9855b84 100644 --- a/static/js/search.js +++ b/static/js/search.js @@ -69,7 +69,7 @@ $( document ).ready(function() { indexOfIndex = uri.length; } var href = uri.substring(uri.indexOf("/"), indexOfIndex); - suggestion.href = href; + suggestion.href = baseurl + href; var query = $("#search-by").val();