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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-2 / +1 lines)
Lines 393-399 Link Here
393
                                let url = '[% redirect_url | url %]'.indexOf("?") != -1
393
                                let url = '[% redirect_url | url %]'.indexOf("?") != -1
394
                                    ? '[% redirect_url | url %]&borrowernumber=' + json.data[0].patron_id
394
                                    ? '[% redirect_url | url %]&borrowernumber=' + json.data[0].patron_id
395
                                    : '[% redirect_url | url %]?borrowernumber=' + json.data[0].patron_id;
395
                                    : '[% redirect_url | url %]?borrowernumber=' + json.data[0].patron_id;
396
                                document.location.href = url;
396
                                window.location.replace(url);
397
                                return false;
397
                                return false;
398
                            }
398
                            }
399
                            first_draw = 0;
399
                            first_draw = 0;
400
- 

Return to bug 36302