Update search.js

Trying to apply an exact match or tag would previously redirect to /search, regardless of the installation path.
This commit is contained in:
10bass 2017-07-24 20:06:15 -04:00 committed by GitHub
parent f200b4183d
commit b4dcde252b

View File

@ -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) {