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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-5 / +7 lines)
Lines 694-704 Link Here
694
694
695
            // Our 'render' function for borrowerlink
695
            // Our 'render' function for borrowerlink
696
            var createPatronLink = function(data, type, row) {
696
            var createPatronLink = function(data, type, row) {
697
                return '<a title="' + _("View borrower details") + '" ' +
697
                var patronLink = '<a title="' + _("View borrower details") + '" ' +
698
                    'href="/cgi-bin/koha/members/moremember.pl?' +
698
                    'href="/cgi-bin/koha/members/moremember.pl?' +
699
                    'borrowernumber='+row.borrowernumber+'">' +
699
                    'borrowernumber='+row.borrowernumber+'">';
700
                    row.patron_firstname + ' ' + row.patron_surname +
700
                if ( row.patron_firstname ) {
701
                    '</a>';
701
                    patronLink = patronLink + row.patron_firstname + ' ';
702
                }
703
                patronLink = patronLink + row.patron_surname + '</a>';
704
                return patronLink;
702
            };
705
            };
703
706
704
            // Our 'render' function for the library name
707
            // Our 'render' function for the library name
705
- 

Return to bug 20600