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

[release-4.17] clear all filters button is counted into resource type number

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.18
    • Management Console
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the resource type filter for the *Events* page on the {product-title} web console wrongly reported the number of resources when you selected more than three resources. With this release, the filter now reports the correct number of resources based on your resource selection. (link:https://issues.redhat.com/browse/OCPBUGS-39091[*OCPBUGS-39091*])
      Show
      * Previously, the resource type filter for the *Events* page on the {product-title} web console wrongly reported the number of resources when you selected more than three resources. With this release, the filter now reports the correct number of resources based on your resource selection. (link: https://issues.redhat.com/browse/OCPBUGS-39091 [* OCPBUGS-39091 *])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-38701. The following is the description of the original issue:

      Description of problem:

      clear all filters button is counted as part of resource type 

      Version-Release number of selected component (if applicable):

      4.18.0-0.nightly-2024-08-19-002129    

      How reproducible:

      Always    

      Steps to Reproduce:

          1. navigate to Home -> Events page, choose 3 resource types, check what's shown on page
          2. navigate to Home -> Search page, choose 3 resource types, check what's shown on page. Choose 4 resource types and check what's shown    

      Actual results:

      1. it shows `1 more`, only clear all button will be shown if we click on `1 more` button
      2. `1 more` button is only displayed when 4 resource types are selected, this is working as expected

      Expected results:

      1. clear all button should not be counted as part of resource number, the number 'N more' should reveal correct resource type numbers

      Additional info:

          

            rhn-engineering-rhamilto Robb Hamilton
            openshift-crt-jira-prow OpenShift Prow Bot
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: