Bug 2121954 - When searching for content, dropdown filters are literal search terms.
Summary: When searching for content, dropdown filters are literal search terms.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.12.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.12.0
Assignee: Jeremy Lenz
QA Contact: Shweta Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-27 18:51 UTC by Matthew Yee
Modified: 2022-11-16 13:35 UTC (History)
6 users (show)

Fixed In Version: tfm-rubygem-katello-4.5.0.12-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:35:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
filter keys (14.29 KB, image/png)
2022-08-27 18:51 UTC, Matthew Yee
no flags Details
Search for filter key and not value (16.44 KB, image/png)
2022-08-27 18:52 UTC, Matthew Yee
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35512 0 High New When searching for content, dropdown filters are literal search terms. 2022-09-09 19:50:42 UTC
Red Hat Issue Tracker SAT-12663 0 None None None 2022-09-01 14:41:03 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:35:43 UTC

Description Matthew Yee 2022-08-27 18:51:57 UTC
Created attachment 1908071 [details]
filter keys

Description of problem:
In any content search bar, the initial click shows a dropdown of filter keys. These are literal search terms and not key designators.

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

How reproducible:
100%

Steps to Reproduce:
1. Register host. 
2. Click on host > Content > Packages. 
3. Click on search bar. 

Actual results:
Search is launched for the Key and not the Value of the filter.

Expected results:
Search is launched for the Value of the filter.

Additional info:
Screenshots attached.

Comment 1 Matthew Yee 2022-08-27 18:52:29 UTC
Created attachment 1908072 [details]
Search for filter key and not value

Comment 2 Brad Buckingham 2022-09-01 12:54:54 UTC
Hi Matthew,

I see the user behavior raised and it looks like it can be improved.  When selecting the key (e.g. name, status...etc) (versus typing it), it shouldn't initiate a search.

A valid search would be 'name = myhostname' vs 'name'.

Comment 3 Jeremy Lenz 2022-09-09 19:50:41 UTC
Created redmine issue https://projects.theforeman.org/issues/35512 from this bug

Comment 4 Bryan Kearney 2022-09-09 20:04:50 UTC
Upstream bug assigned to jlenz

Comment 5 Bryan Kearney 2022-09-09 20:04:52 UTC
Upstream bug assigned to jlenz

Comment 8 Silas Pusateri 2022-10-12 10:27:53 UTC
Verified
Version Tested: 6.12.0 snap 13

Steps:
 1. Register a host
 2. Navigate to the host > content > packages
 3. Select a search key from the dropdown

Results: Search is not launched for the key but triggers after the operator or value has been partially entered.

Comment 13 errata-xmlrpc 2022-11-16 13:35:34 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: Satellite 6.12 Release), 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:8506


Note You need to log in before you can comment on or make changes to this bug.