From 3fc572c5ff2fd2641dfae7f6050c66d4a6507e5a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 20 Sep 2021 11:07:11 +0200 Subject: [PATCH] Bug 27279: (bug 23916 follow-up) Fix issuer display on "Checkout history" Caused by commit 61a39b0dd52df4f6d743671823449e265d6add26 Bug 23916: (QA follow-up) Adapt all the things to the new column and accessor names - [% INCLUDE 'patron-title.inc' patron=checkout.issued_by %] + [% INCLUDE 'patron-title.inc' patron=checkout.issuer_id %] It must have been patron=checkout.issuer as patron-title.inc is expecting a Koha::Patron object, not a borrowernumber. Test plan: Turn RecordStaffUserOnCheckout on Check an item out then in Go to the biblio checkout history and confirm that the "Checked out by" column contains the logged in librarian's name. --- .../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 f7790e7c4d7..ca7cf67acbc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt @@ -86,7 +86,7 @@ [% IF Koha.Preference('RecordStaffUserOnCheckout') %] [% IF checkout.issuer_id %] - [% INCLUDE 'patron-title.inc' patron=checkout.issuer_id %] + [% INCLUDE 'patron-title.inc' patron=checkout.issuer %] [% END %] [% END %] -- 2.25.1