#7717 Missing tags column definition in IP range table

This commit is contained in:
cybarox 2021-11-03 08:48:49 +01:00
parent a5ec0ee277
commit 1fc96e7d16

View File

@ -264,12 +264,15 @@ class IPRangeTable(BaseTable):
accessor='utilization', accessor='utilization',
orderable=False orderable=False
) )
tags = TagColumn(
url_name='ipam:iprange_list'
)
class Meta(BaseTable.Meta): class Meta(BaseTable.Meta):
model = IPRange model = IPRange
fields = ( fields = (
'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description', 'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description',
'utilization','tags', 'utilization', 'tags',
) )
default_columns = ( default_columns = (
'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description', 'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description',