Bladeren bron

Fixes #4241: Correct IP address hyperlinks on interface view

Jeremy Stretch 6 jaren geleden
bovenliggende
commit
1a997610c7
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 0
      docs/release-notes/version-2.7.md
  2. 1 1
      netbox/ipam/tables.py

+ 1 - 0
docs/release-notes/version-2.7.md

@@ -12,6 +12,7 @@
 * [#4235](https://github.com/netbox-community/netbox/issues/4235) - Fix API representation of `content_type` for export templates
 * [#4239](https://github.com/netbox-community/netbox/issues/4239) - Fix exception when selecting all filtered objects during bulk edit
 * [#4240](https://github.com/netbox-community/netbox/issues/4240) - Fix exception when filtering foreign keys by NULL
+* [#4241](https://github.com/netbox-community/netbox/issues/4241) - Correct IP address hyperlinks on interface view
 
 ---
 

+ 1 - 1
netbox/ipam/tables.py

@@ -385,7 +385,7 @@ class InterfaceIPAddressTable(BaseTable):
     """
     List IP addresses assigned to a specific Interface.
     """
-    address = tables.TemplateColumn(IPADDRESS_ASSIGN_LINK, verbose_name='IP Address')
+    address = tables.LinkColumn(verbose_name='IP Address')
     vrf = tables.TemplateColumn(VRF_LINK, verbose_name='VRF')
     status = tables.TemplateColumn(STATUS_LABEL)
     tenant = tables.TemplateColumn(template_code=TENANT_LINK)