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) {
|
updateSearch(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
window.location = '/search?term=' + encodeURIComponent(this.termString);
|
window.location = window.baseUrl('/search?term=' + encodeURIComponent(this.termString));
|
||||||
},
|
},
|
||||||
|
|
||||||
enableDate(optionName) {
|
enableDate(optionName) {
|
||||||
|
Loading…
Reference in New Issue
Block a user