diff --git a/resources/assets/js/vues/search.js b/resources/assets/js/vues/search.js index 515ca3bc9..8cb790d24 100644 --- a/resources/assets/js/vues/search.js +++ b/resources/assets/js/vues/search.js @@ -149,7 +149,7 @@ let methods = { updateSearch(e) { e.preventDefault(); - window.location = '/search?term=' + encodeURIComponent(this.termString); + window.location = window.baseUrl('/search?term=' + encodeURIComponent(this.termString)); }, enableDate(optionName) { @@ -192,4 +192,4 @@ function created() { module.exports = { data, computed, methods, created -}; \ No newline at end of file +};