From 0c55e894f49d9e87510fb8bda8b9e9020b39b5f7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 14 Jun 2018 11:43:12 -0300 Subject: [PATCH] Bug 20928: Fix regression - display patron's info on moredetail if item is checked out MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch is a follow-up of commit 5f80977875ff124d411f2cd89de4a944fa9c27af Bug 18403: Use patron-title.inc when hidepatronname is used Test plan: - Check an item out - Go on the moredetail.pl page of this biblio record Home › Catalog › Item details for your biblio - Confirm that you see: "Checkout status: Checked out to" followed by the patron's info Signed-off-by: Maryse Simard Followed the test plan and it works. Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- .../intranet-tmpl/prog/en/modules/catalogue/moredetail.tt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt index b1a261fa26..026e14f1cb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt @@ -75,11 +75,7 @@
  • Current location: [% Branches.GetName( ITEM_DAT.holdingbranch ) %] 
  • Checkout status: [% IF ( ITEM_DAT.issue ) %]Checked out to - [% IF ( hidepatronname ) %] - [% ITEM_DAT.cardnumber %], - [% ELSE %] - [% ITEM_DAT.borrowerfirstname %] [% ITEM_DAT.borrowersurname %], - [% END %] + [% INCLUDE 'patron-title.inc' patron => ITEM_DAT.patron hide_patron_infos_if_needed=1 %] [% IF ( ITEM_DAT.lastreneweddate ) %] Last renewed [% ITEM_DAT.lastreneweddate | $KohaDates %], [% END %] -- 2.39.5