Skip to content

Commit b1cfbbc

Browse files
committed
Fixes netbox-community#15960: Use internal ManyToManyColumn to ensure proper export behavior
1 parent 6dd311f commit b1cfbbc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

netbox/dcim/tables/devices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ class InterfaceTable(ModularDeviceComponentTable, BaseInterfaceTable, PathEndpoi
618618
verbose_name=_('VRF'),
619619
linkify=True
620620
)
621-
inventory_items = tables.ManyToManyColumn(
621+
inventory_items = columns.ManyToManyColumn(
622622
linkify_item=True,
623623
verbose_name=_('Inventory Items'),
624624
)

netbox/ipam/tables/ip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ class IPAddressTable(TenancyColumnsMixin, NetBoxTable):
378378
orderable=False,
379379
verbose_name=_('NAT (Inside)')
380380
)
381-
nat_outside = tables.ManyToManyColumn(
381+
nat_outside = columns.ManyToManyColumn(
382382
linkify_item=True,
383383
orderable=False,
384384
verbose_name=_('NAT (Outside)')

netbox/vpn/tables/crypto.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class IKEPolicyTable(NetBoxTable):
6363
mode = tables.Column(
6464
verbose_name=_('Mode')
6565
)
66-
proposals = tables.ManyToManyColumn(
66+
proposals = columns.ManyToManyColumn(
6767
linkify_item=True,
6868
verbose_name=_('Proposals')
6969
)
@@ -129,7 +129,7 @@ class IPSecPolicyTable(NetBoxTable):
129129
verbose_name=_('Name'),
130130
linkify=True
131131
)
132-
proposals = tables.ManyToManyColumn(
132+
proposals = columns.ManyToManyColumn(
133133
linkify_item=True,
134134
verbose_name=_('Proposals')
135135
)

netbox/vpn/tables/tunnels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class TunnelTerminationTable(TenancyColumnsMixin, NetBoxTable):
9191
verbose_name=_('Tunnel interface'),
9292
linkify=True
9393
)
94-
ip_addresses = tables.ManyToManyColumn(
94+
ip_addresses = columns.ManyToManyColumn(
9595
accessor=tables.A('termination__ip_addresses'),
9696
orderable=False,
9797
linkify_item=True,

0 commit comments

Comments
 (0)