mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
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:
parent
f200b4183d
commit
b4dcde252b
@ -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
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user