mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Updated: The call to _fnFilterCustom doesn't need to check if there are filters since the loop will effectively do that anyway.
This commit is contained in:
parent
74f3426284
commit
0a1a2a17dc
3
media/js/jquery.dataTables.js
vendored
3
media/js/jquery.dataTables.js
vendored
@ -2054,11 +2054,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Custom filtering */
|
/* Custom filtering */
|
||||||
if ( DataTable.ext.afnFiltering.length !== 0 )
|
|
||||||
{
|
|
||||||
_fnFilterCustom( oSettings );
|
_fnFilterCustom( oSettings );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fnSaveFilter( oInput );
|
fnSaveFilter( oInput );
|
||||||
|
@ -95,11 +95,8 @@ function _fnFilterComplete ( oSettings, oInput, iForce )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Custom filtering */
|
/* Custom filtering */
|
||||||
if ( DataTable.ext.afnFiltering.length !== 0 )
|
|
||||||
{
|
|
||||||
_fnFilterCustom( oSettings );
|
_fnFilterCustom( oSettings );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fnSaveFilter( oInput );
|
fnSaveFilter( oInput );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user