Parcourir la source

Feature-6917 make ip assigned checkmark link to interface

royreznik il y a 4 ans
Parent
commit
8523ad166e
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      netbox/ipam/tables/ip.py

+ 2 - 1
netbox/ipam/tables/ip.py

@@ -318,7 +318,8 @@ class IPAddressTable(BaseTable):
         verbose_name='NAT (Inside)'
         verbose_name='NAT (Inside)'
     )
     )
     assigned = BooleanColumn(
     assigned = BooleanColumn(
-        accessor='assigned_object_id',
+        accessor='assigned_object',
+        linkify=True,
         verbose_name='Assigned'
         verbose_name='Assigned'
     )
     )
     tags = TagColumn(
     tags = TagColumn(