diff --git a/netbox/templates/table_paginator.html b/netbox/templates/table_paginator.html index 51965d023..90bd41473 100644 --- a/netbox/templates/table_paginator.html +++ b/netbox/templates/table_paginator.html @@ -7,7 +7,7 @@ {% endif %}
- Showing {{ table.page.start_index }}-{{ table.page.end_index }} of {{ total }} - {% if total == 1 %} - {{ table.data.verbose_name }} - {% else %} - {{ table.data.verbose_name_plural }} - {% endif %} + {% with table.page.paginator.count as total %} + Showing {{ table.page.start_index }}-{{ table.page.end_index }} of {{ total }} + {% if total == 1 %} + {{ table.data.verbose_name }} + {% else %} + {{ table.data.verbose_name_plural }} + {% endif %} + {% endwith %}