@@ -, +, @@ --- koha-tmpl/intranet-tmpl/js/browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/js/browser.js +++ a/koha-tmpl/intranet-tmpl/js/browser.js @@ -105,7 +105,8 @@ KOHA.browser = function (searchid, biblionumber) { }); $('a[href*="biblionumber="]').not('a[target="_blank"]').click(function (ev) { ev.preventDefault(); - window.location = $(this).attr('href') + '&searchid=' + me.searchid; + var url = new URL($(this).attr('href'), window.location.origin); + window.location = url.pathname + url.search + 'searchid=' + me.searchid + url.hash; }); $('form[name="f"]').append(''); } --