1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-01 13:24:10 +01:00

Fix: Ordering informationw as being sent in SSP Ajax when ordering disabled

- See thread 19860 for details.
This commit is contained in:
Allan Jardine 2014-03-07 11:48:23 +00:00
parent 9dc81c8dd3
commit 302f0be0ac
2 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
eceec807732782010bff74c4d068bb13b6a81b50
ccad156eb73b327e1878b864cb9a64912acdcd20

View File

@ -2434,6 +2434,12 @@
}
}
if ( features.bFilter ) {
param( 'sSearch', preSearch.sSearch );
param( 'bRegex', preSearch.bRegex );
}
if ( features.bSort ) {
$.each( sort, function ( i, val ) {
d.order.push( { column: val.col, dir: val.dir } );
@ -2441,12 +2447,6 @@
param( 'sSortDir_'+i, val.dir );
} );
if ( features.bFilter ) {
param( 'sSearch', preSearch.sSearch );
param( 'bRegex', preSearch.bRegex );
}
if ( features.bSort ) {
param( 'iSortingCols', sort.length );
}