Description of problem:
Exporting list of content host on the basis of search filter result added all content hosts in csv file.
Version-Release number of selected component (if applicable):
Satellite 6.4 snap 17
How reproducible: always
Steps to Reproduce:
1. Navigate to Hosts-> content host (Have some hosts in satellite)
2. Search for any host pattern (such as os_title ~ "RHEL Server 7.5")
3. Click on export
All the hosts info in satellite get exported in csv.
only filtered host info should present in csv.
Additional info: This works as expected at Hosts -> All hosts page. (Export on content host page is newly added in sat 6.4)
This was opened while verifying bug 1464219. Is this a bug or RFE?
If I recall correctly, the Export CSV does not honor search filters or paging. If so, I was unsure if this is intentional.
CSV export should respect search filters (as well as org/loc context). It should only ignore pagination. (and ordering which is ignored for performance reasons)
Created redmine issue http://projects.theforeman.org/issues/25226 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25226 has been resolved.
Satellite 6.5 snap 7
Successfully exported only list of hosts which are filtered.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
*** Bug 1604457 has been marked as a duplicate of this bug. ***