You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is a paginateAndSortResults common tooling that's being used for sorting of some data returned to Human App UI.
reward_amount of the job is string, not a number, so when you attempt to sort by this field - you get invalid results because paginateAndSortResults uses straightforward way of sorting by comparing values.
To Reproduce
Steps to reproduce the behavior:
Go to any page with jobs
Click on Reward amount table header and choose "from highest"
You will see results returned in an invalid order
Expected behavior
Job sorted by reward amount as numeric value
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
There is a paginateAndSortResults common tooling that's being used for sorting of some data returned to Human App UI.
reward_amount
of thejob
is string, not a number, so when you attempt to sort by this field - you get invalid results becausepaginateAndSortResults
uses straightforward way of sorting by comparing values.To Reproduce
Steps to reproduce the behavior:
Reward amount
table header and choose "from highest"Expected behavior
Job sorted by reward amount as numeric value
Screenshots

The text was updated successfully, but these errors were encountered: