Skip to content

Commit

Permalink
Fixes: #18289 - Add 'created' and 'last_updated' fields to ModuleType…
Browse files Browse the repository at this point in the history
…Table (#18292)

* Add 'created' and 'last_updated' fields to ModuleTypeTable for consistency

* Add 'created' and 'last_updated' fields to ModuleTable for consistency
  • Loading branch information
bctiemann authored Jan 3, 2025
1 parent b9abb32 commit e8e3981
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netbox/dcim/tables/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -79,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',
Expand Down

0 comments on commit e8e3981

Please sign in to comment.