From e062cbb79f12dc26603c7aaa6288a7560097a7c1 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 10 Dec 2020 08:52:55 -0500 Subject: [PATCH] Fixes #5436: Show assigned IP addresses in interfaces list --- docs/release-notes/version-2.9.md | 1 + netbox/dcim/tables.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/version-2.9.md b/docs/release-notes/version-2.9.md index b976c7fcd..9187f9ff7 100644 --- a/docs/release-notes/version-2.9.md +++ b/docs/release-notes/version-2.9.md @@ -13,6 +13,7 @@ * [#5407](https://github.com/netbox-community/netbox/issues/5407) - Add direct link to secret on secrets list * [#5408](https://github.com/netbox-community/netbox/issues/5408) - Fix updating secrets without setting new plaintext * [#5410](https://github.com/netbox-community/netbox/issues/5410) - Restore tags field on cable connection forms +* [#5436](https://github.com/netbox-community/netbox/issues/5436) - Show assigned IP addresses in interfaces list --- diff --git a/netbox/dcim/tables.py b/netbox/dcim/tables.py index 2d8195f85..08235997d 100644 --- a/netbox/dcim/tables.py +++ b/netbox/dcim/tables.py @@ -141,7 +141,7 @@ POWERPANEL_POWERFEED_COUNT = """ """ INTERFACE_IPADDRESSES = """ -{% for ip in record.ip_addresses.unrestricted %} +{% for ip in record.ip_addresses.all %} {{ ip }}
{% endfor %} """