Bug 21462: (bug 15136 follow-up) Shift column numbering
authorJohan Larsson <johan.larsson@ub.gu.se>
Mon, 1 Oct 2018 12:48:54 +0000 (14:48 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 1 Oct 2018 23:52:18 +0000 (23:52 +0000)
Wrong column was selected for filtering the table.
This was caused by changing the hmtl-structure of the table

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt

index 8e2484d..a27937e 100644 (file)
                     var filteredValue = '^((?!0.00).*)$'; //Filter not matching 0.00 http://stackoverflow.com/a/406408
                     $(this).html('<i class="fa fa-filter"></i> '+txtInactivefilter);
                 }
-                table_account_fines.fnFilter(filteredValue, 4, true, false);
+                table_account_fines.fnFilter(filteredValue, 5, true, false);
                 $(this).toggleClass('filtered');
             });