Use query parameter separator from config

This commit is contained in:
David Raine 2017-04-04 16:30:09 +01:00
parent 4d60ddd763
commit 753bd289a7
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}
});
});

View File

@ -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();
}
});
});