From fe7bb53b24c438a603513bd92a087b741ebf7f65 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 Signed-off-by: Alex Arnaud Signed-off-by: Jonathan Druart (cherry picked from commit 0b69ff1ed7a775b6fdca8513d1ec5a692e30bbe9) Signed-off-by: Lucas Gass (cherry picked from commit d49844d0e1b3ad54c3a7706232437c1a22871fd8) Signed-off-by: Aleisha Amohia --- 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 054f1d8550..73c5e3ba86 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -466,8 +466,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.39.5