From d32dba43b4e246ec054264cf006196775146e798 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Wed, 2 Jun 2021 15:48:15 -0400 Subject: [PATCH] Fixes #6525: Paginate related IPs table under IP address view --- docs/release-notes/version-2.11.md | 1 + netbox/ipam/views.py | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/release-notes/version-2.11.md b/docs/release-notes/version-2.11.md index fa472cf8f..c89d5dde0 100644 --- a/docs/release-notes/version-2.11.md +++ b/docs/release-notes/version-2.11.md @@ -14,6 +14,7 @@ * [#6284](https://github.com/netbox-community/netbox/issues/6284) - Avoid sending redundant webhooks when adding/removing tags * [#6496](https://github.com/netbox-community/netbox/issues/6496) - Fix upgrade script when Python installed in nonstandard path * [#6502](https://github.com/netbox-community/netbox/issues/6502) - Correct permissions evaluation for running a report via the REST API +* [#6525](https://github.com/netbox-community/netbox/issues/6525) - Paginate related IPs table under IP address view --- diff --git a/netbox/ipam/views.py b/netbox/ipam/views.py index 7c1a06cf3..8de6e9b1c 100644 --- a/netbox/ipam/views.py +++ b/netbox/ipam/views.py @@ -551,6 +551,7 @@ class IPAddressView(generic.ObjectView): vrf=instance.vrf, address__net_contained_or_equal=str(instance.address) ) related_ips_table = tables.IPAddressTable(related_ips, orderable=False) + paginate_table(related_ips_table, request) return { 'parent_prefixes_table': parent_prefixes_table,