From e04e7265523901433263f7899ed91f64d87127ea Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Wed, 24 May 2023 07:58:43 -0400 Subject: [PATCH] Fix Pagination for Content Hosts (#830) (#836) (cherry picked from commit 68080bb2f392d5baf916d47b4baa861faf0b9d2a) Co-authored-by: Samuel Bible --- airgun/views/contenthost.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/airgun/views/contenthost.py b/airgun/views/contenthost.py index 2db7899af..45cfb4351 100644 --- a/airgun/views/contenthost.py +++ b/airgun/views/contenthost.py @@ -106,7 +106,9 @@ class ContentHostsView(BaseLoggedInView, SearchableViewMixin): 'Installable Updates': InstallableUpdatesCellView(), }, ) - pagination = Pagination() + + total_items = Text("//span[@class='pagination-pf-items-total ng-binding']") + pages = Text("//span[@class='pagination-pf-pages ng-binding ng-scope']") @property def is_displayed(self):