Skip to content

Commit e8e3981

Browse files
authored
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
1 parent b9abb32 commit e8e3981

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netbox/dcim/tables/modules.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class Meta(NetBoxTable.Meta):
4141
model = ModuleType
4242
fields = (
4343
'pk', 'id', 'model', 'manufacturer', 'part_number', 'airflow', 'weight', 'description', 'comments', 'tags',
44+
'created', 'last_updated',
4445
)
4546
default_columns = (
4647
'pk', 'model', 'manufacturer', 'part_number',
@@ -79,7 +80,7 @@ class Meta(NetBoxTable.Meta):
7980
model = Module
8081
fields = (
8182
'pk', 'id', 'device', 'module_bay', 'manufacturer', 'module_type', 'status', 'serial', 'asset_tag',
82-
'description', 'comments', 'tags',
83+
'description', 'comments', 'tags', 'created', 'last_updated',
8384
)
8485
default_columns = (
8586
'pk', 'id', 'device', 'module_bay', 'manufacturer', 'module_type', 'status', 'serial', 'asset_tag',

0 commit comments

Comments
 (0)