Lines 703-713
Link Here
|
703 |
|
703 |
|
704 |
// Our 'render' function for borrowerlink |
704 |
// Our 'render' function for borrowerlink |
705 |
var createPatronLink = function(data, type, row) { |
705 |
var createPatronLink = function(data, type, row) { |
706 |
return '<a title="' + _("View borrower details") + '" ' + |
706 |
var patronLink = '<a title="' + _("View borrower details") + '" ' + |
707 |
'href="/cgi-bin/koha/members/moremember.pl?' + |
707 |
'href="/cgi-bin/koha/members/moremember.pl?' + |
708 |
'borrowernumber='+row.borrowernumber+'">' + |
708 |
'borrowernumber='+row.borrowernumber+'">'; |
709 |
row.patron_firstname + ' ' + row.patron_surname + |
709 |
if ( row.patron_firstname ) { |
710 |
'</a>'; |
710 |
patronLink = patronLink + row.patron_firstname + ' '; |
|
|
711 |
} |
712 |
patronLink = patronLink + row.patron_surname + '</a>'; |
713 |
return patronLink; |
711 |
}; |
714 |
}; |
712 |
|
715 |
|
713 |
// Our 'render' function for the library name |
716 |
// Our 'render' function for the library name |
714 |
- |
|
|