From 11402fa729c48644a604695f78ade1e9a0d1e958 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 8 Aug 2018 19:52:26 +0000 Subject: [PATCH] Bug 20896: Move serial enumeration after callnumber on intranet detail page The column with serial enumeration/chronology information is moved from the back to the right of itemcallnumber on the intranet detail page. To test: - Apply patch - Look at different detail pages in staff: - 1 or more items have serial enumeration information - no item has serial enumeration informatoin - Verify - itemcallnumber is now followed by serial information, if an item with the field filled in exists for the record - all other functionality, like sorting, works as expected https://bugs.koha-community.org/show_bug.cgi?id=20869 --- .../prog/en/modules/catalogue/detail.tt | 42 +++++++++++----------- 1 file changed, 21 insertions(+), 21 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 e4da23a..722883d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -351,10 +351,10 @@ Home library [% IF ( itemdata_ccode ) %]Collection[% END %] Call number + [% IF ( volinfo ) %]Serial enumeration / chronology[% END %] Status Last seen Barcode - [% IF ( volinfo ) %]Serial enumeration / chronology[% END %] [% IF ( itemdata_uri ) %]URL[% END %] [% IF ( itemdata_copynumber ) %]Copy number[% END %] [% IF ( itemdata_stocknumber ) %]Inventory number[% END %] @@ -388,6 +388,26 @@ [% Branches.GetName(item.homebranch) %][% item.location %] [% IF ( itemdata_ccode ) %][% item.ccode %][% END %] [% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %] + [% IF ( volinfo ) %] + + [% IF ( itemdata_enumchron ) %] + [% IF item.enumchron && item.serialseq %] + [% item.enumchron %] + [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %] + -- + [% item.serialseq | html %] + [% END %] + [% ELSIF item.enumchron %] + [% item.enumchron | html %] + [% ELSIF item.serialseq %] + [% item.serialseq | html %] + [% END %] + [% IF ( item.publisheddate ) %] + ([% item.publisheddate | $KohaDates %]) + [% END %] + [% END %] + + [% END %] [% IF item.CheckedOutFor %] @@ -475,26 +495,6 @@ [% item.datelastseen | $KohaDates %] [% item.barcode %] - [% IF ( volinfo ) %] - - [% IF ( itemdata_enumchron ) %] - [% IF item.enumchron && item.serialseq %] - [% item.enumchron %] - [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %] - -- - [% item.serialseq | html %] - [% END %] - [% ELSIF item.enumchron %] - [% item.enumchron | html %] - [% ELSIF item.serialseq %] - [% item.serialseq | html %] - [% END %] - [% IF ( item.publisheddate ) %] - ([% item.publisheddate | $KohaDates %]) - [% END %] - [% END %] - - [% END %] [% IF ( itemdata_uri ) %] [% item.uri %] [% END %] -- 2.1.4