Bug 2889: template aqbasketusersearch add loop.odd
authorKarl Menzies <karl@catalyst.net.nz>
Fri, 25 Jul 2014 03:59:29 +0000 (15:59 +1200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 15 Oct 2014 20:59:05 +0000 (17:59 -0300)
To Test
1/ In Acquisitions > Create a test Budget
2/ In the Budget > Create at least three Test Funds
3/ Create at least three Users who use the fund
4/ Select Search for Basket User
5/ In the Table results list see the list of users and see the alternate table highlighting

6/ Apply the patch
7/ Refresh the Search for Basket User results window
8/ In the Table results list see the list of users and see the alternate table highlighting in place
9/ Bug fixed

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/aqbasketuser_search.tt

index 91ca764..e5a1240 100644 (file)
@@ -56,7 +56,7 @@
       </thead>
       <tbody>
         [% FOREACH user IN users_loop %]
-          [% IF ( user.toggle ) %]
+          [% IF ( loop.odd ) %]
             <tr>
           [% ELSE %]
             <tr class="highlight">