Project

General

Profile

Actions

Bug #35795

closed

new host details - Repository sets pagination ignores filters

Added by Jeremy Lenz over 1 year ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:

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.

Actions

Also available in: Atom PDF