From 1f039ff9301590d69d0684849ba2d7c015baa115 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 2 Jul 2020 08:32:51 -0400 Subject: [PATCH] Bug 25914: Fix incorrect variable name causing relative's checkouts column to be empty in OPAC In the OPAC, the title column in the relatives checkouts table is always empty. Test Plan: 1) Enable viewing of relative's checkouts in OPAC 2) Check some items out to a patron 3) Log into the OPAC as a relative of that patron that should be able to view them 4) Note the title column is empty in the relative's checkouts tab 5) Apply this patch 6) Reload the page 7) Titles should appear in the title column! Signed-off-by: Owen Leonard --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 89f1b91503..5e72d21891 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -501,8 +501,8 @@ [% FOREACH c IN r.checkouts %] - - [% i.item.biblio.title | html %][% IF ( i.item.enumchron ) %] [% i.item.enumchron | html %][% END %] + + [% c.item.biblio.title | html %][% IF ( c.item.enumchron ) %] [% c.item.enumchron | html %][% END %] -- 2.11.0