Skip to content

Commit 1661d1f

Browse files
committed
#6372: Fix query issues with & refactor API select
1 parent e3008ba commit 1661d1f

File tree

5 files changed

+667
-510
lines changed

5 files changed

+667
-510
lines changed

netbox/dcim/forms.py

+2
Original file line numberDiff line numberDiff line change
@@ -2077,6 +2077,8 @@ class DeviceForm(BootstrapMixin, TenancyForm, CustomFieldModelForm):
20772077
attrs={
20782078
'disabled-indicator': 'device',
20792079
'data-query-param-face': "[\"$face\"]",
2080+
# The UI will not sort this element's options.
2081+
'pre-sorted': ''
20802082
}
20812083
)
20822084
)

netbox/project-static/dist/netbox.js

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/project-static/dist/netbox.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)