mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-29 11:24:10 +01:00
Fix: Filtering wasn't correctly applying the type
adjustments needed for the global filter. For example this meant that html was not stripped from 'html' type columns, resulting in filtering being done on html tags/attributes as well as the content.
This commit is contained in:
parent
b56f3619cb
commit
065c2cc66b
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -2259,6 +2259,10 @@
|
||||
*/
|
||||
function _fnBuildSearchRow( oSettings, aData )
|
||||
{
|
||||
for ( var i=0, len=aData.length ; i<len ; i++ ) {
|
||||
aData[i] = _fnDataToSearch( aData[i], oSettings.aoColumns[i].sType );
|
||||
}
|
||||
|
||||
var sSearch = aData.join(' ');
|
||||
|
||||
/* If it looks like there is an HTML entity in the string, attempt to decode it */
|
||||
|
@ -312,6 +312,10 @@ function _fnBuildSearchArray ( oSettings, iMaster )
|
||||
*/
|
||||
function _fnBuildSearchRow( oSettings, aData )
|
||||
{
|
||||
for ( var i=0, len=aData.length ; i<len ; i++ ) {
|
||||
aData[i] = _fnDataToSearch( aData[i], oSettings.aoColumns[i].sType );
|
||||
}
|
||||
|
||||
var sSearch = aData.join(' ');
|
||||
|
||||
/* If it looks like there is an HTML entity in the string, attempt to decode it */
|
||||
|
Loading…
Reference in New Issue
Block a user