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:
parent
9dc81c8dd3
commit
302f0be0ac
@ -1 +1 @@
|
||||
eceec807732782010bff74c4d068bb13b6a81b50
|
||||
ccad156eb73b327e1878b864cb9a64912acdcd20
|
||||
|
12
media/js/jquery.dataTables.js
vendored
12
media/js/jquery.dataTables.js
vendored
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user