Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions netbox/tenancy/tables/contacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ class ContactAssignmentTable(NetBoxTable):
verbose_name=_('Role'),
linkify=True
)
contact_group = tables.Column(
accessor=Accessor('contact__group'),
verbose_name=_('Group'),
linkify=True
contact_groups = columns.ManyToManyColumn(
accessor=Accessor('contact__groups'),
verbose_name=_('Groups'),
linkify_item=('tenancy:contactgroup', {'pk': tables.A('pk')})
)
contact_title = tables.Column(
accessor=Accessor('contact__title'),
Expand Down Expand Up @@ -152,7 +152,7 @@ class Meta(NetBoxTable.Meta):
model = ContactAssignment
fields = (
'pk', 'object_type', 'object', 'contact', 'role', 'priority', 'contact_title', 'contact_phone',
'contact_email', 'contact_address', 'contact_link', 'contact_description', 'contact_group', 'tags',
'contact_email', 'contact_address', 'contact_link', 'contact_description', 'contact_groups', 'tags',
'actions'
)
default_columns = (
Expand Down