From 9c5ba4fbe06878810d27fc312c92dbec7bd16a18 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 Signed-off-by: Paul Poulain (cherry picked from commit 90ddf1b2544d26910e3354670ea4aab65eb9b8aa) Signed-off-by: Chris Nighswonger --- .../prog/en/modules/reports/catalogue_out.tt | 19 +++++++++++++------ 1 file 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 48ad8a36fe..d751fc0a7b 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 %] -- 2.39.5