Filter: selectSource option now correctly handles parsed values that return a zero

This commit is contained in:
Mottie 2014-06-04 16:01:55 -05:00
parent 324014283d
commit 5aeae68774

View File

@ -1116,7 +1116,7 @@ ts.filter = {
$.each(arry, function(i, v){ $.each(arry, function(i, v){
// parse array data using set column parser; this DOES NOT pass the original // parse array data using set column parser; this DOES NOT pass the original
// table cell to the parser format function // table cell to the parser format function
parsed.push({ t : v, p : c.parsers && c.parsers[column].format( v, table, [], column ) || v }); parsed.push({ t : v, p : c.parsers && c.parsers[column].format( v, table, [], column ) });
}); });
// sort parsed select options // sort parsed select options