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 |
- |
|
|