Filter: select now obtains parsed data when set for a column. Fixes #684

This commit is contained in:
Mottie 2014-07-15 17:19:05 -05:00
parent e84f2992d4
commit c4cad65dc4

View File

@ -1220,7 +1220,7 @@ ts.filter = {
// check if has class filtered // check if has class filtered
if (onlyAvail && row.className.match(wo.filter_filteredRow)) { continue; } if (onlyAvail && row.className.match(wo.filter_filteredRow)) { continue; }
// get non-normalized cell content // get non-normalized cell content
if (wo.filter_useParsedData) { if (wo.filter_useParsedData || c.parsers[column].parsed || c.$headers.filter('[data-column="' + column + '"]:last').hasClass('filter-parsed')) {
arry.push( '' + cache.normalized[rowIndex][column] ); arry.push( '' + cache.normalized[rowIndex][column] );
} else { } else {
cell = row.cells[column]; cell = row.cells[column];