From 3c65318243de786bdc11d9ad335a253d59754d74 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Jun 2018 11:13:46 -0300 Subject: [PATCH] Bug 20899: Fix patron's name display This is a follow-up for commit fa54100dffe092e606f79b15692eedaf78f42e45 Bug 18403: Use patron-title.inc when hidepatronname is used [SPECIFIC for issuehistory] We should use patron-title.inc to display (or hide) patron's info on the checkout history view Test plan: Issue an item, go to the biblio, click the circulation history for this tab. Note that the patron's name is showing. Signed-off-by: Martin Renvoize Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- .../intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt index 28800abd6d..0d3c01d498 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt @@ -44,7 +44,7 @@ [% FOREACH checkout IN checkouts %] [% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %] - [% IF HidePatronName %][% issue.cardnumber %][% ELSE %][% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %][% END %] + [% INCLUDE 'patron-title.inc' patron => checkout.patron hide_patron_infos_if_needed=1 %] [% END %] [% IF checkout.item.barcode %] [%# FIXME This test is not mandatory I think %] -- 2.39.5