Polkadex-Substrate / Polkadex-Open-Beta

12 stars 3 forks source link

Hestia - Order/Trade History/Balances Tables - Sorting not working properly for most fields #634

Open jaymansfield opened 3 months ago

jaymansfield commented 3 months ago

Order/Trade History/Balances Tables - Sorting not working properly for most fields

It seems to be sorting most values as strings rather than numerics.

Here are a few examples, but almost all the columns are broken for the tables other then dates.

https://github.com/Polkadex-Substrate/Polkadex-Open-Beta/assets/6218678/10bcd339-a18f-428c-a802-5d88637fd0dc

https://github.com/Polkadex-Substrate/Polkadex-Open-Beta/assets/6218678/ca2a5156-d927-4d58-8e09-165145e628cb

https://github.com/Polkadex-Substrate/Polkadex-Open-Beta/assets/6218678/5764a984-7b71-435d-bf3d-35220bd8e137