mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-10-08 13:44:18 +00:00
Filter: select now obtains parsed data when set for a column. Fixes #684
This commit is contained in:
parent
e84f2992d4
commit
c4cad65dc4
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user