Fixes #3022: Add missing cable termination types to DCIM _choices endpoint

This commit is contained in:
Jeremy Stretch 2019-03-22 16:26:56 -04:00
parent fc76c8eb0f
commit 3acc8ca3ab
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ v2.5.9 (FUTURE)
* [#2936](https://github.com/digitalocean/netbox/issues/2936) - Fix device role selection showing duplicate first entry
* [#2998](https://github.com/digitalocean/netbox/issues/2998) - Limit device query to non-racked devices if no rack selected when creating a cable
* [#3014](https://github.com/digitalocean/netbox/issues/3014) - Fixes VM Role filtering
* [#3022](https://github.com/digitalocean/netbox/issues/3022) - Add missing cable termination types to DCIM `_choices` endpoint
v2.5.8 (2019-03-11)

View File

@ -35,7 +35,7 @@ from .exceptions import MissingFilterException
class DCIMFieldChoicesViewSet(FieldChoicesViewSet):
fields = (
(Cable, ['length_unit', 'status', 'type']),
(Cable, ['length_unit', 'status', 'termination_a_type', 'termination_b_type', 'type']),
(ConsolePort, ['connection_status']),
(Device, ['face', 'status']),
(DeviceType, ['subdevice_role']),