Bug 2092137

Summary: Search doesn't show all entries when name filter is cleared
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Management ConsoleAssignee: Giao Vu Dinh <gvudinh>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 4.9CC: yapei
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:15:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
clear-name-filter.mp4 none

Description Christoph Jerolimov 2022-05-31 22:12:47 UTC
Description of problem:
When the user uses the search and filters for a name its confusing that no or wrong data are shown when the name filter is cleared again.

Version-Release number of selected component (if applicable):
Could reproduce this issue on 4.9, 4.10 and 4.11
4.7 and 4.8 works fine

How reproducible:
Always

Steps to Reproduce:
1. Navigate to the search
2. Select a resource type (that has some data, like ClusterRoleBinding)
3. switch filter to name
4. Enter a name
5. Clear the name input again

Actual results:
No entries are shown

Expected results:
When the name is cleared I would expect that all resources are shown again

Additional info:

Comment 1 Christoph Jerolimov 2022-05-31 22:13:58 UTC
Created attachment 1885631 [details]
clear-name-filter.mp4

Comment 4 Yadan Pei 2022-07-20 02:33:34 UTC
PR was just merged against openshift/master branch, it should be included in 4.12

Comment 5 Yadan Pei 2022-07-21 09:28:06 UTC
1. Navigate to the search
2. Select a resource type (that has some data, like ClusterRoleBinding)
3. switch filter to name
4. Enter a name
5. Clear the name input again, all ClusterRoleBinding are shown again
6. 

verified on 4.12.0-0.nightly-2022-07-20-030220

Comment 6 errata-xmlrpc 2022-08-10 11:15:18 UTC
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069