Project

General

Profile

Bug #21712

Last search term for Content Hosts recalled, when pressing "Search"

Added by Walden Raines over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1495271
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).

Associated revisions

Revision a406fbe9 (diff)
Added by Walden Raines over 4 years ago

Fixes #21712: fix double search on CH and AK pages.

This commit fixes an issue where a search was executed
twice for pages that included an unnecessary query
string parameter for search.

http://projects.theforeman.org/issues/21712

History

#1 Updated by Walden Raines over 4 years ago

  • Target version set to 234
  • Category set to Hosts

#2 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 329

#3 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7093 added

#4 Updated by Walden Raines over 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF