Search filter disappears when deleting a host.
|Status:||Ready For Testing|
|Assigned To:||Kavita Gaikwad|
|Target version:||Team Anurag Iteration 22|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/4969|
|Velocity based estimate||-|
Description of problem:
In Red Hat Satellite 6, after applying a filter when we try to delete a host, after its deletion, the search filter disappears.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.In Satellite 6, navigate to Hosts -> All Hosts
2. Apply a search filter, for instance "name ~ abcd" and click the Search button
3. Delete one of the hosts shown by clicking the "v" next to the Edit button and selecting the "Delete" option. Click "OK" on the confirmation prompt.
*Actual results:*The server will be deleted from the All Hosts list, but the search filter is no longer active and all "All Hosts" servers are shown.
*Expected results:*The search filter to still be there, showing the remaining servers corresponding with those search criteria.