From e8e3981da53fa5cdfe82a742c8d15e31679a3e1f Mon Sep 17 00:00:00 2001 From: bctiemann Date: Fri, 3 Jan 2025 12:35:04 -0500 Subject: [PATCH] Fixes: #18289 - Add 'created' and 'last_updated' fields to ModuleTypeTable (#18292) * Add 'created' and 'last_updated' fields to ModuleTypeTable for consistency * Add 'created' and 'last_updated' fields to ModuleTable for consistency --- netbox/dcim/tables/modules.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox/dcim/tables/modules.py b/netbox/dcim/tables/modules.py index 5b06e08b2..6bd0d53b5 100644 --- a/netbox/dcim/tables/modules.py +++ b/netbox/dcim/tables/modules.py @@ -41,6 +41,7 @@ class ModuleTypeTable(NetBoxTable): model = ModuleType fields = ( 'pk', 'id', 'model', 'manufacturer', 'part_number', 'airflow', 'weight', 'description', 'comments', 'tags', + 'created', 'last_updated', ) default_columns = ( 'pk', 'model', 'manufacturer', 'part_number', @@ -79,7 +80,7 @@ class ModuleTable(NetBoxTable): 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',