Filter: functions now get exact data, ignoring parsed flag. Fixes #1107

This commit is contained in:
Rob Garrison 2016-01-10 22:03:45 -06:00
parent 7aa5ba3617
commit 4e9905f26c

View File

@ -1080,13 +1080,8 @@
// ignore if filter is empty or disabled
if ( data.filter ) {
data.cache = data.cacheArray[ columnIndex ];
// check if column data should be from the cell or from parsed data
if ( wo.filter_useParsedData || data.parsed[ columnIndex ] ) {
data.exact = data.cache;
} else {
result = data.rawArray[ columnIndex ] || '';
data.exact = c.sortLocaleCompare ? ts.replaceAccents( result ) : result; // issue #405
}
data.iExact = !tsfRegex.type.test( typeof data.exact ) && wo.filter_ignoreCase ?
data.exact.toLowerCase() : data.exact;