mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-12 11:51:54 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue