Merge pull request #9288 from huntabyte/develop

Closes #9278: Linkify device type in manufacturer table
This commit is contained in:
Jeremy Stretch
2022-05-04 13:43:16 -04:00
committed by GitHub

View File

@@ -31,7 +31,9 @@ class ManufacturerTable(NetBoxTable):
name = tables.Column( name = tables.Column(
linkify=True linkify=True
) )
devicetype_count = tables.Column( devicetype_count = columns.LinkedCountColumn(
viewname='dcim:devicetype_list',
url_params={'manufacturer_id': 'pk'},
verbose_name='Device Types' verbose_name='Device Types'
) )
inventoryitem_count = tables.Column( inventoryitem_count = tables.Column(