Bug 1296530 - scoped_search - auto complete - Suggestion box does not reappear after choosing a value from it
Summary: scoped_search - auto complete - Suggestion box does not reappear after choosi...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Search
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: Unspecified
Assignee: Roman Plevka
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-07 13:00 UTC by Roman Plevka
Modified: 2017-01-13 21:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-13 21:09:02 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 13044 0 None None None 2016-04-22 15:55:25 UTC

Description Roman Plevka 2016-01-07 13:00:49 UTC
Description of problem:
While working with katello pages:
After choosing a value from a suggestion box (e.g. a suggested field to filter on) the suggestion box disappears, but does not reappear with the refreshed suggestion (e.g. "name ="). Thus user needs to start 'blindly' typing the rest next part of the query or move the focus out of the search bar and re-focus it again.
Same thing happens on typing a query, then deleting it completely (no suggestion bar on empty search field).

Looking at the behaviour ofForeman search bar, the suggestion box is visible *always* as there is a match.

Version-Release number of selected component (if applicable):
# rpm -qa katello
katello-2.5.0-2.nightly.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Navigate to any katello entity page (e.g. Products) - preferably create some entities first
2. click (focus) the search bar
3. click any of the suggestions
4. Now, the suggestion bar disappears but it should just reload with new suggestions
5. now try to delete whole query
6. Suggestion box doesn't care either
7. click the button outside the search bar and click into it again (focus it)
8. Suggestion box appears again

- I recommend comparing the behavior with any foreman page search box (e.g. Infrastructure -> Compute profiles)

Actual results:
Suggestion box doesn't reload properly

Expected results:
It should follow the same behavior as the Foreman one

Additional info:

Comment 1 Roman Plevka 2016-01-07 13:16:08 UTC
Created redmine issue http://projects.theforeman.org/issues/13044 from this bug

Comment 2 Bryan Kearney 2016-07-26 19:07:09 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 3 Bryan Kearney 2017-01-13 21:08:00 UTC
This has been fixed in 6.2 with the removal of active search


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