Sfoglia il codice sorgente

Fixes #6525: Paginate related IPs table under IP address view

jeremystretch 4 anni fa
parent
commit
d32dba43b4
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1 0
      docs/release-notes/version-2.11.md
  2. 1 0
      netbox/ipam/views.py

+ 1 - 0
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
 * [#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
 * [#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
 * [#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
 
 
 ---
 ---
 
 

+ 1 - 0
netbox/ipam/views.py

@@ -551,6 +551,7 @@ class IPAddressView(generic.ObjectView):
             vrf=instance.vrf, address__net_contained_or_equal=str(instance.address)
             vrf=instance.vrf, address__net_contained_or_equal=str(instance.address)
         )
         )
         related_ips_table = tables.IPAddressTable(related_ips, orderable=False)
         related_ips_table = tables.IPAddressTable(related_ips, orderable=False)
+        paginate_table(related_ips_table, request)
 
 
         return {
         return {
             'parent_prefixes_table': parent_prefixes_table,
             'parent_prefixes_table': parent_prefixes_table,