Bug 6527 - Table striping not working on cataloguing search
authorLiz Rea <lrea@nekls.org>
Thu, 23 Jun 2011 14:49:19 +0000 (09:49 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 4 Aug 2011 22:30:22 +0000 (10:30 +1200)
Resolves TT issue causing the results list in cataloguing search (addbooks.pl) to not be
striped.

To test:
More -> Cataloging
do a search

Without patch:
results will not alternate striping as originally intended.

With patch:
Results will be alternating white/grey.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt

index f5e3712..a5e2a96 100644 (file)
@@ -41,7 +41,7 @@
             [% IF ( CAN_user_editcatalogue_edit_items ) %]<th>&nbsp;</th>[% END %]
         </tr>
     [% FOREACH resultsloo IN resultsloop %]
-        [% IF ( resultsloo.even ) %]
+        [% IF ( loop.even ) %]
             <tr class="highlight">
         [% ELSE %]
             <tr>