From 4e9905f26c4207daf241840ce3b63264517c5e28 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Sun, 10 Jan 2016 22:03:45 -0600 Subject: [PATCH] Filter: functions now get exact data, ignoring parsed flag. Fixes #1107 --- js/widgets/widget-filter.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/js/widgets/widget-filter.js b/js/widgets/widget-filter.js index bb418a60..31514fa0 100644 --- a/js/widgets/widget-filter.js +++ b/js/widgets/widget-filter.js @@ -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;