1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #8667: Support position patterning when creating module bays & templates

This commit is contained in:
jeremystretch
2022-02-23 13:02:14 -05:00
parent 6604ebfd01
commit a2fe23549b
5 changed files with 51 additions and 21 deletions

View File

@@ -744,8 +744,8 @@ class DeviceModuleBayTable(ModuleBayTable):
class Meta(DeviceComponentTable.Meta):
model = ModuleBay
fields = ('pk', 'id', 'name', 'label', 'description', 'installed_module', 'tags', 'actions')
default_columns = ('pk', 'name', 'label', 'description', 'installed_module')
fields = ('pk', 'id', 'name', 'label', 'position', 'installed_module', 'description', 'tags', 'actions')
default_columns = ('pk', 'name', 'label', 'installed_module', 'description')
class InventoryItemTable(DeviceComponentTable):