From eeaac96e4e2ccc0ec02ea6f529c7629d73590883 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 9 Feb 2022 15:48:15 +0100 Subject: [PATCH] Bug 30055: Restore patron's preview links MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomas Cohen Arazi Signed-off-by: Séverine Queune Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tt index 202b7ddeb5..112f96a9e5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tt @@ -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 "" + $patron_to_html(row, { invert_name: 1 }) + ""; } } [% CASE 'branch' %] -- 2.39.5