mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #763: Added missing fields to CSV exports
This commit is contained in:
@ -408,6 +408,7 @@ class Rack(CreatedUpdatedModel, CustomFieldModel):
|
||||
self.get_type_display() if self.type else '',
|
||||
str(self.width),
|
||||
str(self.u_height),
|
||||
'True' if self.desc_units else '',
|
||||
])
|
||||
|
||||
@property
|
||||
|
@ -324,8 +324,11 @@ class Prefix(CreatedUpdatedModel, CustomFieldModel):
|
||||
self.vrf.rd if self.vrf else '',
|
||||
self.tenant.name if self.tenant else '',
|
||||
self.site.name if self.site else '',
|
||||
self.vlan.group.name if self.vlan and self.vlan.group else '',
|
||||
str(self.vlan.vid) if self.vlan else '',
|
||||
self.get_status_display(),
|
||||
self.role.name if self.role else '',
|
||||
'True' if self.is_pool else '',
|
||||
self.description,
|
||||
])
|
||||
|
||||
|
Reference in New Issue
Block a user