Bug #35795
closednew host details - Repository sets pagination ignores filters
Description
Example: I have 11 enabled repo sets, and 20 total repo sets for a given host. I filter the list to show only 'Enabled'.
Expected:
per_page set to 20: I see all 11 enabled repository sets on the first page. Pagination says "1-11 of 11." The next page button is disabled.
per_page set to 10: I see 10 enabled repository sets on the first page. Pagination says "1-10 of 11." If I click to move to page 2, it says "11-11 of 11."
Actual:
per_page set to 20: I see all 11 enabled repository sets on the first page, but pagination says "1-19 of 19" reflecting the unfiltered total amount of items.
per_page set to 10: I see only 7 enabled repository sets on the first page, but pagination says "1-10 of 19." If I go to page 2, I see 4 items, but pagination says "11-19 of 19." The pagination is reflecting what would be on the page if the filters were not active.
Updated by Ian Ballou about 2 years ago
- Target version set to Katello 4.7.0
- Triaged changed from No to Yes
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Jeremy Lenz
- Pull request https://github.com/Katello/katello/pull/10373 added
Updated by The Foreman Bot almost 2 years ago
- Fixed in Releases Katello 4.8.0 added
Updated by Jeremy Lenz almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|5b7ede358cbf28c23c0f23c9840a5aecf2cecd8f.
Updated by The Foreman Bot almost 2 years ago
- Pull request https://github.com/Katello/katello/pull/10385 added
Updated by The Foreman Bot about 1 year ago
- Pull request https://github.com/Katello/katello/pull/10743 added