Issue when sorting Offers by Capacity - Storage
Closed this issue · 0 comments
julianmrodri commented
- We have an issue with My offers. . If I create an offer for 1 GB, then an offer for 10 GB and then an offer for 1.5 GB. The sorting puts 1.5 GB as the maximum, and ignores the 10 GB. This is because it is comparing as strings. We should do the
totalCapacity
as number as this is not an amount that will be expressed in gwei, the number column is more than enough.
The values in the DB are: