Jelajahi Sumber

Merge pull request #10097 from arthanson/art-10059

Fix for #10059 - add identifier to L2VPN table
Jeremy Stretch 3 tahun lalu
induk
melakukan
646272f9b3
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      netbox/ipam/tables/l2vpn.py

+ 2 - 2
netbox/ipam/tables/l2vpn.py

@@ -33,10 +33,10 @@ class L2VPNTable(TenancyColumnsMixin, NetBoxTable):
     class Meta(NetBoxTable.Meta):
     class Meta(NetBoxTable.Meta):
         model = L2VPN
         model = L2VPN
         fields = (
         fields = (
-            'pk', 'name', 'slug', 'type', 'description', 'import_targets', 'export_targets', 'tenant', 'tenant_group',
+            'pk', 'name', 'slug', 'identifier', 'type', 'description', 'import_targets', 'export_targets', 'tenant', 'tenant_group',
             'actions',
             'actions',
         )
         )
-        default_columns = ('pk', 'name', 'type', 'description', 'actions')
+        default_columns = ('pk', 'name', 'identifier', 'type', 'description', 'actions')
 
 
 
 
 class L2VPNTerminationTable(NetBoxTable):
 class L2VPNTerminationTable(NetBoxTable):