Lines 667-677
Link Here
|
667 |
|
667 |
|
668 |
// Our 'render' function for borrowerlink |
668 |
// Our 'render' function for borrowerlink |
669 |
var createPatronLink = function(data, type, row) { |
669 |
var createPatronLink = function(data, type, row) { |
670 |
return '<a title="' + _("View borrower details") + '" ' + |
670 |
var patronLink = '<a title="' + _("View borrower details") + '" ' + |
671 |
'href="/cgi-bin/koha/members/moremember.pl?' + |
671 |
'href="/cgi-bin/koha/members/moremember.pl?' + |
672 |
'borrowernumber='+row.borrowernumber+'">' + |
672 |
'borrowernumber='+row.borrowernumber+'">'; |
673 |
row.patron_firstname + ' ' + row.patron_surname + |
673 |
if ( row.patron_firstname ) { |
674 |
'</a>'; |
674 |
patronLink = patronLink + row.patron_firstname + ' '; |
|
|
675 |
} |
676 |
patronLink = patronLink + row.patron_surname + '</a>'; |
677 |
return patronLink; |
675 |
}; |
678 |
}; |
676 |
|
679 |
|
677 |
// Our 'render' function for the library name |
680 |
// Our 'render' function for the library name |
678 |
- |
|
|