Bug 36640: Fix logic in column numbering for filters
I don't really understand why this was not required on bug 33484, but here this patch fixes a bug with the filters and the column visibility: Fix: select an option in a column filter then hide a column that is before. Signed-off-by: Jake Deery <jake.deery@ptfs-europe.com> Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
84d8fdb8a5
commit
b6b733c282
|
|
@ -860,7 +860,8 @@ function _dt_add_delay_filters(table_dt, table_node) {
|
|||
table_dt.column(i).search(val, true, false).draw();
|
||||
}, delay_ms);
|
||||
|
||||
$(table_node).find('thead tr:eq(1) th').each( function (i) {
|
||||
$(table_node).find('thead tr:eq(1) th').each( function (visible_i) {
|
||||
var i = table_dt.column.index('fromVisible', visible_i);
|
||||
$(this).find("input")
|
||||
.unbind()
|
||||
.bind("keyup change", function(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue