Skip to content

Commit

Permalink
Fixes #6107: Fix rack selection field on device form
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Apr 7, 2021
1 parent 81193eb commit 4f76268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/release-notes/version-2.11.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* [#6104](https://github.com/netbox-community/netbox/issues/6104) - Fix location column on racks table
* [#6105](https://github.com/netbox-community/netbox/issues/6105) - Hide checkboxes for VMs under cluster VMs view
* [#6106](https://github.com/netbox-community/netbox/issues/6106) - Allow assigning a virtual interface as the parent of an existing interface
* [#6107](https://github.com/netbox-community/netbox/issues/6107) - Fix rack selection field on device form

---

Expand Down
2 changes: 1 addition & 1 deletion netbox/dcim/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,7 @@ class DeviceForm(BootstrapMixin, TenancyForm, CustomFieldModelForm):
required=False,
query_params={
'site_id': '$site',
'location_id': 'location',
'location_id': '$location',
}
)
position = forms.IntegerField(
Expand Down

0 comments on commit 4f76268

Please sign in to comment.