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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-2 / +6 lines)
Lines 444-450 Link Here
444
                                var borrowernumber = json.aaData[0].borrowernumber;
444
                                var borrowernumber = json.aaData[0].borrowernumber;
445
                                /* Overwrite history state of firstletter search since only one result was returned; This prevents a loop upon clicking back */
445
                                /* Overwrite history state of firstletter search since only one result was returned; This prevents a loop upon clicking back */
446
                                history.replaceState( {}, null, window.location.href.split("?" )[0]);
446
                                history.replaceState( {}, null, window.location.href.split("?" )[0]);
447
                                document.location.href="/cgi-bin/koha/members/moremember.pl?borrowernumber="+borrowernumber;
447
                                [% IF circsearch == 0 %]
448
                                    [% SET redirect = "members/moremember" %]
449
                                [% ELSE %]
450
                                    [% SET redirect = "circ/circulation" %]
451
                                [% END %]
452
                                document.location.href="/cgi-bin/koha/[% redirect | $raw %].pl?borrowernumber="+borrowernumber;
448
                                return false;
453
                                return false;
449
                            }
454
                            }
450
                            fnCallback(json);
455
                            fnCallback(json);
451
- 

Return to bug 29411