1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #3872: Limit related IPs table

This commit is contained in:
Saria Hajjar
2020-01-09 14:48:21 +00:00
parent 54227ca9c7
commit 73e456495f
2 changed files with 2 additions and 1 deletions

View File

@@ -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', {