From 913cd3af5d098febe5d13bbcbbb679bfb3e2f2e8 Mon Sep 17 00:00:00 2001 From: Jon Aker Date: Thu, 13 Oct 2011 15:21:37 +1300 Subject: [PATCH] Bug 7020 Items with no checkouts report does not output call number, barcode or item details When running the Items with no checkouts report and outputting to screen, the results do not include any identifying information for the items. The only information listed is the item count and the branch location. --- .../prog/en/modules/reports/catalogue_out.tt | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt index 48ad8a3..bcf9131 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt @@ -65,13 +65,20 @@ [% IF ( looptable.looprow ) %] [% FOREACH loopro IN looptable.looprow %] - [% UNLESS ( loop.odd ) %] - [% ELSE %][% END %] + [% DEFAULT + loopro.itemcallnumber="No Call Number" + loopro.barcode="No Barcode" + loopro.title="NO TITLE" + loopro.author="" + %] + [% UNLESS ( loop.odd ) %] + [% ELSE %][% END %] + [% loop.count %] - [% DEFAULT loopro.itemcallnumber="No Call Number" %] - [% DEFAULT loopro.barcode="No Barcode" %] + [% loopro.itemcallnumber %] + [% loopro.barcode %]

[% DEFAULT loopro.title="NO TITLE" %]

- [% DEFAULT loopro.author="" %] + [% loopro.author %] [% IF ( loopro.branch ) %]at [% loopro.branch %][% END %] -- 1.7.4.1