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

Sort function on Access review table is not working as expected

    • 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

            [OCPBUGS-52166] Sort function on Access review table is not working as expected

            Xiyun Zhao added a comment -

            Bug has been verified on payload 4.19.0-0.test-2025-03-14-065327-ci-ln-00zgwd2-latest, now the sort function on API Explore -> REsourced details -> Access review page is working as expected

            Xiyun Zhao added a comment - Bug has been verified on payload 4.19.0-0.test-2025-03-14-065327-ci-ln-00zgwd2-latest, now the sort function on API Explore -> REsourced details -> Access review page is working as expected

            Hi rh-ee-kragarwa,

            Bugs should not be moved to Verified without first providing a Release Note Type("Bug Fix" or "No Doc Update") and for type "Bug Fix" the Release Note Text must also be provided. Please populate the necessary fields before moving the Bug to Verified.

            OpenShift Jira Bot added a comment - Hi rh-ee-kragarwa , Bugs should not be moved to Verified without first providing a Release Note Type("Bug Fix" or "No Doc Update") and for type "Bug Fix" the Release Note Text must also be provided. Please populate the necessary fields before moving the Bug to Verified.

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

                Created:
                Updated: