1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-20 18:54:15 +01:00

Fix: Don't rebuild the client-side search array when using server-side processing since it isn't used! - 5742

This commit is contained in:
Allan Jardine 2011-08-13 12:40:08 +01:00
parent 9a1fddf79b
commit 8a7c5c938e

View File

@ -4475,6 +4475,8 @@
* int:iMaster - use the master data array - optional * int:iMaster - use the master data array - optional
*/ */
function _fnBuildSearchArray ( oSettings, iMaster ) function _fnBuildSearchArray ( oSettings, iMaster )
{
if ( !oSettings.oFeatures.bServerSide )
{ {
/* Clear out the old data */ /* Clear out the old data */
oSettings.asDataSearch.splice( 0, oSettings.asDataSearch.length ); oSettings.asDataSearch.splice( 0, oSettings.asDataSearch.length );
@ -4488,6 +4490,7 @@
_fnGetRowData( oSettings, aArray[i], 'filter' ) ); _fnGetRowData( oSettings, aArray[i], 'filter' ) );
} }
} }
}
/* /*
* Function: _fnBuildSearchRow * Function: _fnBuildSearchRow