diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 43a71c3f..1ef8973c 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -1788,8 +1788,8 @@ function _fnAjaxParameters( oSettings ) { var iColumns = oSettings.aoColumns.length; - var aoData = [], mDataProp; - var i; + var aoData = [], mDataProp, aaSort, aDataSort; + var i, j; aoData.push( { "name": "sEcho", "value": oSettings.iDraw } ); aoData.push( { "name": "iColumns", "value": iColumns } ); @@ -1820,20 +1820,24 @@ /* Sorting */ if ( oSettings.oFeatures.bSort !== false ) { - var iFixed = oSettings.aaSortingFixed !== null ? oSettings.aaSortingFixed.length : 0; - var iUser = oSettings.aaSorting.length; - aoData.push( { "name": "iSortingCols", "value": iFixed+iUser } ); - for ( i=0 ; i