Description of problem:
When applying a filter on the content host page we only get one page of results back, for example, if we filter for "os_major = 7" we only get 20 results which is exactly one page (per-page). We have way over 40 RHEL 7 content hosts registered to our Satellite Server.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Hosts -> Content Hosts
2. Filter os_major = 7
3. This will show the result only up to the per_page setting, next page option not available
It doesn't show page 2 or more records
It should show more pages if the filter is applicable.
I'm having the exact problem described here at a different customer, but wanted to add the detail that by altering "per_page" value in the URL to a very large number (example 500), the UI maximum of 100/page can be exceeded and all results will show up on the 1 page of filtered results. Further, this larger per_page value will continue to be used by the UI for subsequent searches.
I'll also add that by changing the page= to a larger number that page will show up even if it says there are only 1 page. For page 5 you would just set page=5.
Connecting redmine issue https://projects.theforeman.org/issues/25487 from this bug
*** Bug 1652489 has been marked as a duplicate of this bug. ***
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 1704865 has been marked as a duplicate of this bug. ***