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 <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Jon Aker 2011-12-07 12:06:41 +13:00 committed by Paul Poulain
parent d39262e61d
commit 90ddf1b254

View file

@ -65,13 +65,20 @@
</tr>
[% IF ( looptable.looprow ) %]
[% FOREACH loopro IN looptable.looprow %]
[% UNLESS ( loop.odd ) %]<tr class="highlight">
[% ELSE %]<tr>[% END %]
[% DEFAULT
loopro.itemcallnumber="No Call Number"
loopro.barcode="No Barcode"
loopro.title="NO TITLE"
loopro.author=""
%]
[% UNLESS ( loop.odd ) %]<tr class="highlight">
[% ELSE %]<tr>[% END %]
<td>[% loop.count %]</td>
<td>[% DEFAULT loopro.itemcallnumber="No Call Number" %]</td>
<td>[% DEFAULT loopro.barcode="No Barcode" %]</td>
<td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber %]">[% DEFAULT loopro.title="NO TITLE" %]</a></p>
[% DEFAULT loopro.author="" %]
<td>[% loopro.itemcallnumber %]</td>
<td>[% loopro.barcode %]</td>
<td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber %]">[% loopro.title %]</a></p>
[% loopro.author %]
[% IF ( loopro.branch ) %]at [% loopro.branch %][% END %]
</td>
</tr>