mirror of
https://github.com/apache/superset.git
synced 2026-04-26 11:34:27 +00:00
fix: Pivot table not sorting formatted numeric column properly (#5709)
* fix: Pivot table not sorting formatted numeric column properly * refactor(lint): fixed lint error
This commit is contained in:
@@ -62,6 +62,7 @@ function PivotTable(element, props) {
|
||||
const tdText = $(this)[0].textContent;
|
||||
if (!Number.isNaN(tdText) && tdText !== '') {
|
||||
$(this)[0].textContent = d3format(format, tdText);
|
||||
$(this).attr('data-sort', tdText);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user