Use query parameter separator from config
This commit is contained in:
parent
4d60ddd763
commit
753bd289a7
|
@ -7,7 +7,7 @@
|
|||
input.on('keypress', function(event) {
|
||||
if (event.which == 13 && input.val().length > 3) {
|
||||
event.preventDefault();
|
||||
window.location.href = input.data('search-input') + ':' + input.val();
|
||||
window.location.href = input.data('search-input') + '{{ config.system.param_sep }}' + input.val();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -6,7 +6,7 @@ jQuery(document).ready(function($){
|
|||
input.on('keypress', function(event) {
|
||||
if (event.which == 13 && input.val().length > 3) {
|
||||
event.preventDefault();
|
||||
window.location.href = input.data('searchsidebar-input') + ':' + input.val();
|
||||
window.location.href = input.data('searchsidebar-input') + '{{ config.system.param_sep }}' + input.val();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue