From 4aa430af318c25f3dcf8ac96705a09b0dec98936 Mon Sep 17 00:00:00 2001 From: Arthur Date: Wed, 5 Jun 2024 11:51:44 -0700 Subject: [PATCH] 16252 hack in table page count --- netbox/dcim/views.py | 1 + netbox/templates/generic/object_list.html | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/netbox/dcim/views.py b/netbox/dcim/views.py index 670995231..4b4c450e4 100644 --- a/netbox/dcim/views.py +++ b/netbox/dcim/views.py @@ -651,6 +651,7 @@ class RackElevationListView(generic.ObjectListView): 'rack_face': rack_face, 'filter_form': forms.RackElevationFilterForm(request.GET), 'model': self.queryset.model, + 'table': {'page': page}, # hack to show count in Result tab }) diff --git a/netbox/templates/generic/object_list.html b/netbox/templates/generic/object_list.html index 30b3c3c2c..f2af50d3d 100644 --- a/netbox/templates/generic/object_list.html +++ b/netbox/templates/generic/object_list.html @@ -48,9 +48,7 @@ Context: {% if filter_form %}