[Koha-patches] [PATCH 21/21] Bug 6527 - Table striping not working on cataloguing search
Liz Rea
lrea at nekls.org
Thu Jun 23 16:59:50 CEST 2011
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.
---
.../prog/en/modules/cataloguing/addbooks.tt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt
index f5e3712..a5e2a96 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt
@@ -41,7 +41,7 @@
[% IF ( CAN_user_editcatalogue_edit_items ) %]<th> </th>[% END %]
</tr>
[% FOREACH resultsloo IN resultsloop %]
- [% IF ( resultsloo.even ) %]
+ [% IF ( loop.even ) %]
<tr class="highlight">
[% ELSE %]
<tr>
--
1.7.2.5
More information about the Koha-patches
mailing list