mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter: functions now get exact data, ignoring parsed flag. Fixes #1107
This commit is contained in:
parent
7aa5ba3617
commit
4e9905f26c
@ -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
|
||||
}
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user