Bug 1349894
| Summary: | All datastores add clear link after advanced search open and close | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Matouš Mojžíš <mmojzis> | |
| Component: | UI - OPS | Assignee: | Eric Hayes <ehayes> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Matouš Mojžíš <mmojzis> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 5.6.0 | CC: | dajohnso, dclarizi, hkataria, jhardy, mpovolny, obarenbo, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.7.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ui:search | |||
| Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1353300 (view as bug list) | Environment: | ||
| Last Closed: | 2017-01-11 20:17:06 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | CFME Core | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1353300 | |||
|
Description
Matouš Mojžíš
2016-06-24 13:10:57 UTC
Eric, Can you investigate and see what is making "Clear" link to appear even when user has not applied any filters. Can you check to see if same issue exists on any of the other list views. Thanks, ~Harpreet My current theory is that the filters are not properly cleared after step 2. Then the clear_search_show_or_hide method is returning true here: https://github.com/ManageIQ/manageiq/blob/master/app/controllers/application_controller/filter.rb#L468 —causing the clear_search link to appear. I could not reproduce it on other list views with advanced search. Investigating whether the answer lies in one of these other views. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/308143763c529325973e6549c1f23801151f4fb8 commit 308143763c529325973e6549c1f23801151f4fb8 Author: Eric Hayes <eric> AuthorDate: Tue Jun 28 10:13:55 2016 -0700 Commit: Eric Hayes <eric> CommitDate: Tue Jun 28 10:46:08 2016 -0700 Properly clear search for Datastores filters Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1349894 https://bugzilla.redhat.com/show_bug.cgi?id=1349888 app/controllers/application_controller/filter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Verified in 5.7.0.3. No clear link appeared. |