mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 09:08:15 -06:00
Fixes #3864: Limit number of related IPs
This commit is contained in:
parent
770f4c962c
commit
b076002207
@ -10,6 +10,7 @@
|
|||||||
* [#3589](https://github.com/netbox-community/netbox/issues/3589) - Fix validation on tagged VLANs of an interface
|
* [#3589](https://github.com/netbox-community/netbox/issues/3589) - Fix validation on tagged VLANs of an interface
|
||||||
* [#3853](https://github.com/netbox-community/netbox/issues/3853) - Fix device role link on config context view
|
* [#3853](https://github.com/netbox-community/netbox/issues/3853) - Fix device role link on config context view
|
||||||
* [#3856](https://github.com/netbox-community/netbox/issues/3856) - Allow filtering VM interfaces by multiple MAC addresses
|
* [#3856](https://github.com/netbox-community/netbox/issues/3856) - Allow filtering VM interfaces by multiple MAC addresses
|
||||||
|
* [#3864](https://github.com/netbox-community/netbox/issues/3864) - Limit number of related IPs
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -676,7 +676,7 @@ class IPAddressView(PermissionRequiredMixin, View):
|
|||||||
address=str(ipaddress.address)
|
address=str(ipaddress.address)
|
||||||
).filter(
|
).filter(
|
||||||
vrf=ipaddress.vrf, address__net_contained_or_equal=str(ipaddress.address)
|
vrf=ipaddress.vrf, address__net_contained_or_equal=str(ipaddress.address)
|
||||||
)
|
)[:50]
|
||||||
related_ips_table = tables.IPAddressTable(list(related_ips), orderable=False)
|
related_ips_table = tables.IPAddressTable(list(related_ips), orderable=False)
|
||||||
|
|
||||||
return render(request, 'ipam/ipaddress.html', {
|
return render(request, 'ipam/ipaddress.html', {
|
||||||
|
Loading…
Reference in New Issue
Block a user