@@ -, +, @@ link can open in new tab - Search in the staff interface - Click "OPAC view" links in staff result lists - Click "OPAC view' links in detai page - Verify both now open in a new tab - Click other links and test that navigation (previous, next, return to results) works as expected - Inside the staff client, you should see something like searchid=scs_1533922927978 added to the URLs --- koha-tmpl/intranet-tmpl/js/browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/js/browser.js +++ a/koha-tmpl/intranet-tmpl/js/browser.js @@ -63,10 +63,10 @@ KOHA.browser = function (searchid, biblionumber) { sessionStorage.setItem('searches', JSON.stringify(searches)); $(document).ready(function () { //FIXME It's not a good idea to modify the click events - $('#searchresults table tr a[href*="detail.pl"]').on('click', function (ev) { + $('#searchresults table tr a[href*="/detail.pl"]').on('click', function (ev) { ev.preventDefault(); }); - $('#searchresults table tr a[href*="detail.pl"]').on('mousedown', function (ev) { + $('#searchresults table tr a[href*="/detail.pl"]').on('mousedown', function (ev) { if ( ev.which == 2 || ev.which == 1 && ev.ctrlKey ) { // Middle click or ctrl + click ev.preventDefault(); --