From 60dd247cb4498bb66226c11751b5fda87bebab90 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. Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Katrin Fischer --- koha-tmpl/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 f7790e7c4d..ca7cf67acb 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.11.0