mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Fixes #6525: Paginate related IPs table under IP address view
This commit is contained in:
parent
8d0a3c8e69
commit
d32dba43b4
@ -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
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user