Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1495271 - Last search term for Content Hosts recalled, when pressing "Search"
Summary: Last search term for Content Hosts recalled, when pressing "Search"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Roman Plevka
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1498827 1502523 1506549 1515234 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-25 16:14 UTC by Perry Gagne
Modified: 2021-07-22 07:47 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21712 0 Normal Closed Last search term for Content Hosts recalled, when pressing "Search" 2020-05-21 10:27:18 UTC
Red Hat Bugzilla 1529439 0 high CLOSED Content host search filter is not working as expected, Filter always return first time used filter result 2021-02-22 00:41:40 UTC

Internal Links: 1529439

Description Perry Gagne 2017-09-25 16:14:02 UTC
Description of problem: Sometimes when doing multiple searches on the content host, the search terms of the last search are recalled. 


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


How reproducible: Always


Steps to Reproduce:
1. Populate content hosts page
2. Enter a search term (ex. "name ~ foo")
3. Click search
4. Enter another search term ("name ~ bar")
5. Click search

Actual results: "name ~ foo" is recalled and the search is executed


Expected results: "name ~ bar" is used. 


Additional info: Not sure if this is related by I also found when the scrolling through the suggested search term list, pressing enter will immediately execute the search, instead of just putting the selected text in the search (like it does on every other page).

Comment 1 Perry Gagne 2017-09-25 16:16:23 UTC
For reference this was in snap 17

Comment 3 Brad Buckingham 2017-10-19 12:23:29 UTC
*** Bug 1498827 has been marked as a duplicate of this bug. ***

Comment 4 Brad Buckingham 2017-10-20 14:28:50 UTC
*** Bug 1502523 has been marked as a duplicate of this bug. ***

Comment 5 Djebran Lezzoum 2017-10-27 06:42:52 UTC
*** Bug 1506549 has been marked as a duplicate of this bug. ***

Comment 6 Djebran Lezzoum 2017-10-27 06:47:40 UTC
work around navigate to an other page and return back to content hosts page,

PS: I'am using this work around in automation: navigate to dashboard and return to content hosts to make an other search.

Comment 7 Roman Plevka 2017-10-30 09:59:28 UTC
(In reply to Djebran Lezzoum from comment #6)
> work around navigate to an other page and return back to content hosts page,
> 
> PS: I'am using this work around in automation: navigate to dashboard and
> return to content hosts to make an other search.

or just remove the the `search` parameter from the url

Comment 8 Roman Plevka 2017-10-30 12:54:21 UTC
the same applies to the Packages page (at least). I believe the root cause is the same, is it alright to track all such issues with this BZ or do we require a new one?

Comment 9 Brad Buckingham 2017-11-08 17:06:26 UTC
Roman, it sounds like a generic issue that can be tracked by 1.

Based on the feedback in IRC, I am flagging this as a regression and adding to 6.3.

Comment 17 Walden Raines 2017-11-21 01:07:14 UTC
Created redmine issue http://projects.theforeman.org/issues/21712 from this bug

Comment 18 Walden Raines 2017-11-29 21:40:59 UTC
PR: https://github.com/Katello/katello/pull/7093

Comment 19 Brad Buckingham 2017-11-30 18:19:43 UTC
*** Bug 1515234 has been marked as a duplicate of this bug. ***

Comment 20 Satellite Program 2017-12-05 17:17:26 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21712 has been resolved.

Comment 21 Roman Plevka 2017-12-14 08:48:46 UTC
VERIFIED
on sat6.3.0-28

the search now works correctly

Comment 22 Satellite Program 2018-02-21 16:54:17 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, 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-2018:0336


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