Closes #9832: Add mounting_depth field to rack model

This commit is contained in:
jeremystretch
2022-10-27 10:17:20 -04:00
committed by Jeremy Stretch
parent dbe66596f9
commit d773f4e62a
12 changed files with 64 additions and 12 deletions

View File

@@ -320,7 +320,7 @@ class RackFilterSet(NetBoxModelFilterSet, TenancyFilterSet, ContactModelFilterSe
model = Rack
fields = [
'id', 'name', 'facility_id', 'asset_tag', 'u_height', 'desc_units', 'outer_width', 'outer_depth',
'outer_unit', 'weight', 'weight_unit'
'outer_unit', 'mounting_depth', 'weight', 'weight_unit'
]
def search(self, queryset, name, value):