oceanprotocol / pdr-backend

Instructions & code to run predictoors, traders, more.
Apache License 2.0
28 stars 22 forks source link

[PdrDashboard] Table columns sorting not working for formatted values #1545

Closed KatunaNorbert closed 1 month ago

KatunaNorbert commented 1 month ago

Describe the bug

When sorting table columns that contains formatted values, the sorting is wrong

To Reproduce

Steps to reproduce:

  1. Go to Feeds or Predictoors page
  2. Sort table columns that are formated for ex like: "1M", "1.5K"

Expected behavior

Even if the column values are displayed in a formatted way, they should be sortable by default, non formatted values

Screenshots

Screenshot 2024-08-22 at 10 07 20