From e9fc6f8e3893a97bc5c243b0345cc1afc47e3b44 Mon Sep 17 00:00:00 2001 From: Brian Tiemann Date: Thu, 2 Jan 2025 14:45:54 -0500 Subject: [PATCH 1/2] Add 'created' and 'last_updated' fields to ModuleTypeTable for consistency --- netbox/dcim/tables/modules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/netbox/dcim/tables/modules.py b/netbox/dcim/tables/modules.py index 5b06e08b28b..65c6bd1d394 100644 --- a/netbox/dcim/tables/modules.py +++ b/netbox/dcim/tables/modules.py @@ -41,6 +41,7 @@ class Meta(NetBoxTable.Meta): model = ModuleType fields = ( 'pk', 'id', 'model', 'manufacturer', 'part_number', 'airflow', 'weight', 'description', 'comments', 'tags', + 'created', 'last_updated', ) default_columns = ( 'pk', 'model', 'manufacturer', 'part_number', From e1c7c5aee44e838d35f9990cc6278df88c6de90a Mon Sep 17 00:00:00 2001 From: Brian Tiemann Date: Fri, 3 Jan 2025 11:00:17 -0500 Subject: [PATCH 2/2] Add 'created' and 'last_updated' fields to ModuleTable for consistency --- netbox/dcim/tables/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/tables/modules.py b/netbox/dcim/tables/modules.py index 65c6bd1d394..6bd0d53b5e0 100644 --- a/netbox/dcim/tables/modules.py +++ b/netbox/dcim/tables/modules.py @@ -80,7 +80,7 @@ class Meta(NetBoxTable.Meta): model = Module fields = ( 'pk', 'id', 'device', 'module_bay', 'manufacturer', 'module_type', 'status', 'serial', 'asset_tag', - 'description', 'comments', 'tags', + 'description', 'comments', 'tags', 'created', 'last_updated', ) default_columns = ( 'pk', 'id', 'device', 'module_bay', 'manufacturer', 'module_type', 'status', 'serial', 'asset_tag',