Skip to content

Commit

Permalink
Merge pull request #182 from shariquerik/pass-filter-instead-of-true
Browse files Browse the repository at this point in the history
fix: pass filter instead of true
  • Loading branch information
shariquerik authored Dec 7, 2023
2 parents b21e547 + 7391825 commit 6d29880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filterRows.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function getFilterMethod(rows, filter) {
const getFormattedValue = cell => {
let formatter = CellManager.getCustomCellFormatter(cell);
if (formatter && cell.content) {
cell.html = formatter(cell.content, rows[cell.rowIndex], cell.column, rows[cell.rowIndex], true);
cell.html = formatter(cell.content, rows[cell.rowIndex], cell.column, rows[cell.rowIndex], filter);
return stripHTML(cell.html);
}
return cell.content || '';
Expand Down

0 comments on commit 6d29880

Please sign in to comment.