Bug 30055: Restore patron's preview links
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
42bbbb763b
commit
eeaac96e4e
1 changed files with 2 additions and 1 deletions
|
@ -212,7 +212,8 @@
|
|||
"searchable": true,
|
||||
"orderable": true,
|
||||
"render": function( data, type, row, meta ) {
|
||||
return $patron_to_html(row, { invert_name: 1 });
|
||||
let patron_id = encodeURIComponent(row.patron_id);
|
||||
return "<a href=\"/cgi-bin/koha/members/moremember.pl?borrowernumber=" + patron_id + "\" class=\"patron_preview\" data-borrowernumber=\"" + patron_id + "\" style=\"white-space:nowrap\">" + $patron_to_html(row, { invert_name: 1 }) + "</a>";
|
||||
}
|
||||
}
|
||||
[% CASE 'branch' %]
|
||||
|
|
Loading…
Reference in a new issue