+++ This bug was initially created as a clone of Bug #1806875 +++
Description of problem:
Wrong sort criteria for capacity on console. sort criteria for pvc capacity should be numeric sort not the dictionary order
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create several PVCs with 1Gi/10Gi/4GI size
2. The goto storage->pvc page and select all-project
3. try to sort item by capacity
The items sorted based on dictionary order
sort criteria for pvc capacity should be numeric sort
I did not see any pr attached here, move the status to modified firstly.
It has no pr attached here and issue still can be reproduced. move to assigned firstly
Created attachment 1679578 [details]
Sort By Capacity Works
1. Create some PVCs requesting different storage
2. sort by Capacity on PVC list page, the ordering work well
Verified on 4.2.0-0.nightly-2020-04-16-162856
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days