Lines 105-111
KOHA.browser = function (searchid, biblionumber) {
Link Here
|
105 |
}); |
105 |
}); |
106 |
$('a[href*="biblionumber="]').not('a[target="_blank"]').click(function (ev) { |
106 |
$('a[href*="biblionumber="]').not('a[target="_blank"]').click(function (ev) { |
107 |
ev.preventDefault(); |
107 |
ev.preventDefault(); |
108 |
window.location = $(this).attr('href') + '&searchid=' + me.searchid; |
108 |
var url = new URL($(this).attr('href'), window.location.origin); |
|
|
109 |
window.location = url.pathname + url.search + 'searchid=' + me.searchid + url.hash; |
109 |
}); |
110 |
}); |
110 |
$('form[name="f"]').append('<input type="hidden" name="searchid" value="' + me.searchid + '"></input>'); |
111 |
$('form[name="f"]').append('<input type="hidden" name="searchid" value="' + me.searchid + '"></input>'); |
111 |
} |
112 |
} |
112 |
- |
|
|