From 3565f12f426db5eae3f90d99e570fb7102737680 Mon Sep 17 00:00:00 2001 From: Mason James Date: Mon, 16 Sep 2013 15:12:16 +1200 Subject: [PATCH] [SIGNED OFF] Bug 10825 - detail.tt displays duplicated enumchron values for serial items TEST PLAN --------- 1) Find a data point that displays like the picture on this bug report. 2) Apply the patch 3) Refresh the screen 4) Does it look like the second picture now with the duplication removed? 5) Run koha qa test tools I did attempt with default and blank for the XSLT system preferences for the staff client. This does go against Nicole's comment #12. Counter patch to follow. Signed-off-by: Paola Rossi Signed-off-by: Mark Tompsett --- .../prog/en/modules/catalogue/detail.tt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 1e1fcd2..f4cae77 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -658,12 +658,15 @@ function verify_images() { [% IF ( volinfo ) %] [% IF ( itemdata_enumchron ) %] - [% IF ( item.enumchron ) %] - [% item.enumchron %] - [% IF ( item.serialseq ) %] -- [% END %] + [% IF ( item.enumchron ) %] + [% item.enumchron %] + [% ELSIF ( item.serialseq ) %] + [% item.serialseq %] + [% END %] + + [% IF ( item.publisheddate ) %] + ([% item.publisheddate %]) [% END %] - [% item.serialseq %] - [% IF ( item.publisheddate ) %] ([% item.publisheddate %])[% END %] [% END %] [% END %] -- 1.7.9.5