Fix PowerPort connected_endpoint filtering, ordering

This commit is contained in:
Jeremy Stretch
2019-04-25 15:06:48 -04:00
parent e1bca52d57
commit 2c730b08e4
3 changed files with 7 additions and 6 deletions

View File

@@ -429,8 +429,8 @@ class PowerPortSerializer(TaggitSerializer, ConnectedEndpointSerializer):
class Meta:
model = PowerPort
fields = [
'id', 'device', 'name', 'maximum_draw', 'allocated_draw', 'description', 'connected_endpoint_type', 'connected_endpoint', 'connection_status',
'cable', 'tags',
'id', 'device', 'name', 'maximum_draw', 'allocated_draw', 'description', 'connected_endpoint_type',
'connected_endpoint', 'connection_status', 'cable', 'tags',
]