From bd8e00a935fa6d0efced5b10408545334a8827bf Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Mon, 24 Mar 2025 14:02:36 -0700 Subject: [PATCH] 18904 add tags to config context table (#18938) * 18904 add tags to config context table * 18904 tag to correct table --- netbox/extras/tables/tables.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netbox/extras/tables/tables.py b/netbox/extras/tables/tables.py index e538c488e..cb9538cd2 100644 --- a/netbox/extras/tables/tables.py +++ b/netbox/extras/tables/tables.py @@ -498,13 +498,16 @@ class ConfigContextTable(NetBoxTable): orderable=False, verbose_name=_('Synced') ) + tags = columns.TagColumn( + url_name='extras:configcontext_list' + ) class Meta(NetBoxTable.Meta): model = ConfigContext fields = ( 'pk', 'id', 'name', 'weight', 'is_active', 'is_synced', 'description', 'regions', 'sites', 'locations', 'roles', 'platforms', 'cluster_types', 'cluster_groups', 'clusters', 'tenant_groups', 'tenants', - 'data_source', 'data_file', 'data_synced', 'created', 'last_updated', + 'data_source', 'data_file', 'data_synced', 'tags', 'created', 'last_updated', ) default_columns = ('pk', 'name', 'weight', 'is_active', 'is_synced', 'description')