mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
Fixes #3872: Limit related IPs table
This commit is contained in:
parent
54227ca9c7
commit
73e456495f
@ -13,6 +13,7 @@
|
||||
* [#3856](https://github.com/netbox-community/netbox/issues/3856) - Allow filtering VM interfaces by multiple MAC addresses
|
||||
* [#3857](https://github.com/netbox-community/netbox/issues/3857) - Fix group custom links rendering
|
||||
* [#3862](https://github.com/netbox-community/netbox/issues/3862) - Allow filtering device components by multiple device names
|
||||
* [#3872](https://github.com/netbox-community/netbox/issues/3872) - Limit number of related IPs
|
||||
|
||||
---
|
||||
|
||||
|
@ -676,7 +676,7 @@ class IPAddressView(PermissionRequiredMixin, View):
|
||||
address=str(ipaddress.address)
|
||||
).filter(
|
||||
vrf=ipaddress.vrf, address__net_contained_or_equal=str(ipaddress.address)
|
||||
)
|
||||
)[:50]
|
||||
related_ips_table = tables.IPAddressTable(list(related_ips), orderable=False)
|
||||
|
||||
return render(request, 'ipam/ipaddress.html', {
|
||||
|
Loading…
Reference in New Issue
Block a user