Skip to content

Commit

Permalink
Fixes #15960: Use internal ManyToManyColumn to ensure proper export b…
Browse files Browse the repository at this point in the history
…ehavior
  • Loading branch information
jeremystretch committed May 6, 2024
1 parent 60aee6f commit 15cc50f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion netbox/dcim/tables/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ class InterfaceTable(ModularDeviceComponentTable, BaseInterfaceTable, PathEndpoi
verbose_name=_('VRF'),
linkify=True
)
inventory_items = tables.ManyToManyColumn(
inventory_items = columns.ManyToManyColumn(
linkify_item=True,
verbose_name=_('Inventory Items'),
)
Expand Down
2 changes: 1 addition & 1 deletion netbox/ipam/tables/ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ class IPAddressTable(TenancyColumnsMixin, NetBoxTable):
orderable=False,
verbose_name=_('NAT (Inside)')
)
nat_outside = tables.ManyToManyColumn(
nat_outside = columns.ManyToManyColumn(
linkify_item=True,
orderable=False,
verbose_name=_('NAT (Outside)')
Expand Down
4 changes: 2 additions & 2 deletions netbox/vpn/tables/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class IKEPolicyTable(NetBoxTable):
mode = tables.Column(
verbose_name=_('Mode')
)
proposals = tables.ManyToManyColumn(
proposals = columns.ManyToManyColumn(
linkify_item=True,
verbose_name=_('Proposals')
)
Expand Down Expand Up @@ -129,7 +129,7 @@ class IPSecPolicyTable(NetBoxTable):
verbose_name=_('Name'),
linkify=True
)
proposals = tables.ManyToManyColumn(
proposals = columns.ManyToManyColumn(
linkify_item=True,
verbose_name=_('Proposals')
)
Expand Down
2 changes: 1 addition & 1 deletion netbox/vpn/tables/tunnels.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class TunnelTerminationTable(TenancyColumnsMixin, NetBoxTable):
verbose_name=_('Tunnel interface'),
linkify=True
)
ip_addresses = tables.ManyToManyColumn(
ip_addresses = columns.ManyToManyColumn(
accessor=tables.A('termination__ip_addresses'),
orderable=False,
linkify_item=True,
Expand Down

0 comments on commit 15cc50f

Please sign in to comment.