-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.18, 4.19
-
None
-
Moderate
-
None
-
False
-
Description of problem:
Sort function on Access review table is not working as expected
Version-Release number of selected component (if applicable):
4.19.0-0.test-2025-02-28-070949
How reproducible:
Always
Steps to Reproduce:
1. Navigate to Hhome -> API Explorer -> Resource details -> Accessreview tab eg: /api-resource/all-namespaces/core~v1~Binding/access 2. Click on column headers Subject/Type to sort 3.
Actual results:
the sort function is not work as expected
Expected results:
clicking on the column headers can correctly sort the data in ascending or descending order as expected
Additional info:
click on column headers to sort, the table isn't using the sorted data, but the original filtered data instead https://github.com/openshift/console/blob/e9d6ead6852600993cffef3d50cb9b122d64c068/frontend/public/components/api-explorer.tsx#L575