From a930a42b12fa9fbe55761effe45c127fe28a26ac Mon Sep 17 00:00:00 2001 From: Arthur Date: Tue, 18 Mar 2025 07:40:19 -0700 Subject: [PATCH 1/2] 18904 add tags to config context 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 e538c488ec0..c93eb89a823 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='dcim:site_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') From 370c16089bdb9ada0d90a096e62f2a72c513faa5 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 24 Mar 2025 09:33:30 -0700 Subject: [PATCH 2/2] 18904 tag to correct table --- netbox/extras/tables/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/extras/tables/tables.py b/netbox/extras/tables/tables.py index c93eb89a823..cb9538cd241 100644 --- a/netbox/extras/tables/tables.py +++ b/netbox/extras/tables/tables.py @@ -499,7 +499,7 @@ class ConfigContextTable(NetBoxTable): verbose_name=_('Synced') ) tags = columns.TagColumn( - url_name='dcim:site_list' + url_name='extras:configcontext_list' ) class Meta(NetBoxTable.Meta):