Bug 752177

Summary: WebUI User search does not recover correctly after removing filter
Product: Red Hat Satellite Reporter: Eric Sammons <esammons>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: cwelton, mmccune, tomckay
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
katello-headpin-0.1.100-1.git.138.54a3ea4.el6.noarch RHEL 6.2 beta Firefox Browser UI
Last Closed: 2012-04-27 00:32:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 703617, 742017, 747354    

Description Eric Sammons 2011-11-08 18:19:41 UTC
Description of problem:
After applying a filter and then returning to the search (filter) input field and clearing the filter returns after clicking a user from the list.


Version-Release number of selected component (if applicable):
katello-headpin-0.1.100-1.git.138.54a3ea4.el6.noarch



Steps to Reproduce:
1. Navigate to Administration/Users
2. Enter some text to filter on in the search box.
3. Hit Enter or click the search icon to apply filter.
4. Note filter applied
5. Return to search box and clear it, double (or triple) click text and delete.
6. Hit enter or click search icon to apply filter.
7. Note that the filter is no longer applied.
8. Click a user from the USERNAME list
9. Note the filter re-appears and applies and selected user is not in the list nor are its attributes available to the right for editing.
  
Actual results:
filter re-appears and applies and selected user is not in the list nor are its attributes available to the right for editing.

Expected results:
Filter should not be applied, when search field is cleared, and attributes from selected user should be displayed to the right.

Additional info:

Comment 1 Eric Sammons 2011-11-08 18:21:46 UTC
Option to clear search field is available from drop down to left of search field; however, using this means to clear the field results in the same results.  Filter is temporarily removed all users displayed and once a user is selected the filter re-appears and applies.

Comment 2 Mike McCune 2011-11-09 16:18:02 UTC
similar and possibly related to https://bugzilla.redhat.com/show_bug.cgi?id=750117

Comment 3 Eric Helms 2012-01-04 19:53:54 UTC
fcbe7556c5b7a8e51432ddc8d5619a21be65df09

This commit should properly remove the search hash whenever the user clears the search input via the Clear Search link or manually deleting the input from the search input box.

Comment 4 Corey Welton 2012-01-19 16:34:07 UTC
QA Verified.

Comment 6 Mike McCune 2013-08-16 18:03:00 UTC
getting rid of 6.0.0 version since that doesn't exist