Skip to content

Commit 2ab382e

Browse files
committed
Fixes #4137: Disable occupied terminations when connecting a cable to a circuit
1 parent 2503978 commit 2ab382e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/release-notes/version-2.7.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* [#4099](https://github.com/netbox-community/netbox/issues/4099) - Linkify interfaces on global interfaces list
1919
* [#4108](https://github.com/netbox-community/netbox/issues/4108) - Avoid extraneous database queries when rendering search forms
2020
* [#4134](https://github.com/netbox-community/netbox/issues/4134) - Device power ports and outlets should inherit type from the parent device type
21+
* [#4137](https://github.com/netbox-community/netbox/issues/4137) - Disable occupied terminations when connecting a cable to a circuit
2122

2223
---
2324

netbox/dcim/forms.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3613,7 +3613,8 @@ class ConnectCableToCircuitTerminationForm(BootstrapMixin, forms.ModelForm):
36133613
widget=APISelect(
36143614
api_url='/api/circuits/circuit-terminations/',
36153615
disabled_indicator='cable',
3616-
display_field='term_side'
3616+
display_field='term_side',
3617+
full=True
36173618
)
36183619
)
36193620

0 commit comments

Comments
 (0)