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

Fixes #9100: Include position field in module type YAML export

This commit is contained in:
jeremystretch
2022-04-11 08:28:10 -04:00
parent 9b8de19fe6
commit a9e05aec7c
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@
* [#9061](https://github.com/netbox-community/netbox/issues/9061) - Change inheritance order for DeviceComponentFilterSets
* [#9065](https://github.com/netbox-community/netbox/issues/9065) - Min/max VID should not be required when filtering VLAN groups
* [#9079](https://github.com/netbox-community/netbox/issues/9079) - Fail validation when an inventory item is assigned as its own parent
* [#9100](https://github.com/netbox-community/netbox/issues/9100) - Include position field in module type YAML export
---

View File

@ -257,6 +257,7 @@ class DeviceType(NetBoxModel):
{
'name': c.name,
'label': c.label,
'position': c.position,
'description': c.description,
}
for c in self.modulebaytemplates.all()