View | Details | Raw Unified | Return to bug 28196
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/browser.js (-2 / +3 lines)
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
                        url.searchParams.set('searchid', me.searchid);
110
                        window.location = url.href;
109
                    });
111
                    });
110
                    $('form[name="f"]').append('<input type="hidden" name="searchid" value="' + me.searchid + '"></input>');
112
                    $('form[name="f"]').append('<input type="hidden" name="searchid" value="' + me.searchid + '"></input>');
111
                }
113
                }
112
- 

Return to bug 28196