From 842b014af868cabaf31da44ae19bacb5bb42a3da Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Fri, 3 May 2024 16:53:05 +0530 Subject: [PATCH] Add pagination from ansible_roles tab in hostgroup create view (#1372) Signed-off-by: Gaurav Talreja --- airgun/views/hostgroup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airgun/views/hostgroup.py b/airgun/views/hostgroup.py index b2e4f45a2..868deb4e2 100644 --- a/airgun/views/hostgroup.py +++ b/airgun/views/hostgroup.py @@ -1,6 +1,6 @@ from widgetastic.widget import ConditionalSwitchableView, Table, Text, TextInput, View from widgetastic_patternfly import BreadCrumb -from widgetastic_patternfly4 import Button as PF4Button +from widgetastic_patternfly4 import Button as PF4Button, Pagination as PF4Pagination from airgun.views.common import BaseLoggedInView, SatTab, SearchableViewMixinPF4 from airgun.widgets import ( @@ -79,6 +79,7 @@ class host_group(SatTab): class ansible_roles(SatTab): TAB_NAME = 'Ansible Roles' resources = MultiSelect(id='ms-hostgroup_ansible_role_ids') + pagination = PF4Pagination() @View.nested class puppet_enc(SatTab):