From d4eea219c2aa70e7f6cef34fcdbfeb295d237bb2 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 14 Apr 2013 19:29:13 +0200 Subject: [PATCH] Bug 8294: Fix display of serial enumeration for OPAC holds It turns out that this was not a missing but a broken feature. This patch corrects the template variables to make enumchron show up on the item table for item level holds in the OPAC. To test: Try to place item level holds on 1) a record where at least one item 2) a record where none of the items has items.enumchron information. The column with enumchron should only show for 1), but not for 2). Signed-off-by: David Cook Works as described. Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov (cherry picked from commit 815bcbc1d16ad2764fde9f6d3221d2527e48855a) Signed-off-by: Jared Camins-Esakov --- koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt index 8a8bd033b8..65b177b12b 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt @@ -433,7 +433,7 @@ Last location [% END %] Call number - [% IF ( bibitemloo.itemdata_enumchron ) %] + [% IF ( itemdata_enumchron ) %] Vol info [% END %] Information @@ -464,7 +464,7 @@ [% itemLoo.holdingBranchName %] [% END %] [% itemLoo.callNumber %] - [% IF ( itemLoo.itemdata_enumchron ) %] + [% IF ( itemdata_enumchron ) %] [% itemLoo.enumchron %] [% END %] -- 2.39.5