Project

General

Profile

Actions

Bug #29329

closed

per_page does not work correctly in roles switcher on host edit page

Added by Ondřej Pražák over 4 years ago. Updated about 1 year ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Steps to reproduce:

1) have 20+ ansible roles in foreman
2) go to host edit page
3) notice per_page is set to 20 in roles switcher, but only 10 roles are actually in the list
4) change per_page to 5 - there will be 5 roles in the list, but per_page still shows 20. Also pagination shows '1-20 of x' and when requesting the next page, it fetches 5 roles, but still operates on the page size of 20 ('21-40 of x') and roles 6 - 15 are skipped and never displayed.


Subtasks 1 (0 open1 closed)

Foreman - Bug #35400: Update pagination component to fix ansible roles pagination on host edit pageDuplicateNofar AlfassiActions

Related issues 1 (0 open1 closed)

Is duplicate of Ansible - Bug #36368: Unable to see all ansible roles available when editing a hostgroup and the "entries per page" is bigger than the number of available rolesClosedNofar AlfassiActions
Actions

Also available in: Atom PDF