Merge pull request #12376 from ToolJet/fix/table-sort

Fixed negative values not being sorted properly in table
This commit is contained in:
Johnson Cherian 2025-04-07 09:19:38 +05:30 committed by GitHub
commit 2fa63acd6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -130,6 +130,8 @@ export default function generateColumnsData({
return 1;
}
};
} else if (columnType === 'number') {
sortType = 'basic';
}
const width = columnSize || defaultColumn.width;
return {