From b628b7059071bea03f04f9c3e486b09820a864b3 Mon Sep 17 00:00:00 2001 From: Jon Aker Date: Wed, 7 Dec 2011 12:06:41 +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. Signed-off-by: Chris Cormack --- .../prog/en/modules/reports/catalogue_out.tt | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 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..d751fc0 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" %] -

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

- [% DEFAULT loopro.author="" %] + [% loopro.itemcallnumber %] + [% loopro.barcode %] +

[% loopro.title %]

+ [% loopro.author %] [% IF ( loopro.branch ) %]at [% loopro.branch %][% END %] -- 1.7.5.4