1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Fix: Inverted logic for column.index() - 20021

This commit is contained in:
Allan Jardine 2014-03-24 15:16:16 +00:00
parent 9fda4f3a3d
commit fedec2b479
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
4615e4e248f4c3ac97821bb1c27c6c1c9962a1f9
824641df1d8396a88c495ed258915287046c1c55

View File

@ -8024,10 +8024,10 @@
var ctx = this.context[0];
if ( type === 'fromVisible' || type === 'toData' ) {
return _fnColumnIndexToVisible( ctx, idx );
return _fnVisibleToColumnIndex( ctx, idx );
}
else if ( type === 'fromData' || type === 'toVisible' ) {
return _fnVisibleToColumnIndex( ctx, idx );
return _fnColumnIndexToVisible( ctx, idx );
}
}
} );