From b38aec8aae59f4c634f7a8534c43f193cf219068 Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Mon, 12 Mar 2012 16:34:34 +0100 Subject: [PATCH] Bug 7434: Display of issue number for serials in overdues items.enumchron is now displayed when not null Signed-off-by: Jared Camins-Esakov Signed-off-by: Paul Poulain --- circ/overdue.pl | 4 +++- koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/circ/overdue.pl b/circ/overdue.pl index a7207b711b..c25a1d6d2e 100755 --- a/circ/overdue.pl +++ b/circ/overdue.pl @@ -256,7 +256,8 @@ if ($noreport) { biblio.biblionumber, borrowers.branchcode, items.itemcallnumber, - items.replacementprice + items.replacementprice, + items.enumchron FROM issues LEFT JOIN borrowers ON (issues.borrowernumber=borrowers.borrowernumber ) LEFT JOIN items ON (issues.itemnumber=items.itemnumber) @@ -342,6 +343,7 @@ if ($noreport) { branchcode => $data->{branchcode}, itemcallnumber => $data->{itemcallnumber}, replacementprice => $data->{replacementprice}, + enumchron => $data->{enumchron}, patron_attr_value_loop => \@patron_attr_value_loop, }; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt index e196399bfa..fec6e821aa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt @@ -120,7 +120,7 @@ [% IF ( overdueloo.email ) %][email][% END %] [% IF ( overdueloo.phone ) %]([% overdueloo.phone %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro %])[% END %] [% overdueloo.branchcode %] - [% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title |html %] [% overdueloo.subtitle %] [% IF ( overdueloo.author ) %], by [% overdueloo.author %][% END %] + [% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title |html %] [% overdueloo.subtitle %] [% IF ( overdueloo.author ) %], by [% overdueloo.author %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron %][% END %] [% overdueloo.barcode %] [% overdueloo.itemcallnumber %] -- 2.39.5