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

Fix up FHRPGroupAssignmentTable

This commit is contained in:
jeremystretch
2021-11-04 10:05:47 -04:00
parent 67c73768c1
commit c023e5f518

View File

@ -45,8 +45,8 @@ class FHRPGroupTable(BaseTable):
class FHRPGroupAssignmentTable(BaseTable):
pk = ToggleColumn()
object_parent = tables.Column(
accessor=tables.A('object.parent_object'),
interface_parent = tables.Column(
accessor=tables.A('interface.parent_object'),
linkify=True,
orderable=False,
verbose_name='Parent'
@ -65,4 +65,5 @@ class FHRPGroupAssignmentTable(BaseTable):
class Meta(BaseTable.Meta):
model = FHRPGroupAssignment
fields = ('pk', 'group', 'object_parent', 'interface', 'priority')
fields = ('pk', 'group', 'interface_parent', 'interface', 'priority')
exclude = ('id',)