From 1d6c235addcb290fcee091c3e2273b089631ad86 Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Wed, 11 Nov 2015 13:23:15 +0200 Subject: [PATCH] Bug 15172: Serial enumchron/sequence not visible when returning/checking in Items MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Displays the items.enumchron-column in returns.pl when checking in Items. Rewording commit To test: -Checkout a barcode for serial with items generated in Serials > New subscription or item in DB with items.enumchron-column -Checkin the same barcode, the table Checked-in items will appear without information about "Publications details (Vol. 400, No. 32)" -Apply patch -Checkout and checkin another item of the same serial title -Notice about the Vol. 400, No. 32 below the serial title. Signed-off-by: Hector Castro items.enumchron-column display successful in returns.pl (Home>Circulation> Check in) NOTE: Patch rebased on master Signed-off-by: Alain et Aurélie Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- circ/returns.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/circ/returns.pl b/circ/returns.pl index c91d78463b..418f94e2d3 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -602,6 +602,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { $ri{itemnote} = $biblio->{'itemnotes'}; $ri{itemnotes_nonpublic} = $item->{'itemnotes_nonpublic'}; $ri{ccode} = $biblio->{'ccode'}; + $ri{enumchron} = $biblio->{'enumchron'}; $ri{itemnumber} = $biblio->{'itemnumber'}; $ri{barcode} = $bar_code; $ri{homebranch} = $item->{'homebranch'}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 0c4180c492..77a2bc25ff 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -634,7 +634,11 @@ $(document).ready(function () { [% END %] - [% riloo.itemtitle |html %] + [% riloo.itemtitle |html %] + +
+ [% riloo.enumchron %] + [% riloo.itemauthor %] [% riloo.barcode %] [% Branches.GetName( riloo.homebranch ) %] -- 2.39.5