Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-52166

Sort function on Access review table is not working as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18, 4.19
    • Management Console
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      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

              rh-ee-kragarwa Krish Agarwal
              rhn-support-xiyuzhao Xiyun Zhao
              Xiyun Zhao Xiyun Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: