1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #6184: Fix parent object table column in prefix IP addresses list

This commit is contained in:
jeremystretch
2021-04-16 13:07:41 -04:00
parent 89350a80ad
commit 6bd4b3c167
2 changed files with 10 additions and 2 deletions

View File

@ -340,10 +340,10 @@ class IPAddressTable(BaseTable):
verbose_name='Interface'
)
assigned_object_parent = tables.Column(
accessor='assigned_object__parent',
accessor='assigned_object.parent_object',
linkify=True,
orderable=False,
verbose_name='Interface Parent'
verbose_name='Device/VM'
)
class Meta(BaseTable.Meta):