1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #1510: Added ability to search by name when adding devices to a cluster

This commit is contained in:
Jeremy Stretch
2017-10-11 10:14:09 -04:00
parent abfe71bb04
commit f253f164a3
2 changed files with 42 additions and 6 deletions

View File

@@ -186,7 +186,6 @@ class ClusterAddDevicesForm(BootstrapMixin, ChainedFieldsMixin, forms.Form):
('site', 'site'),
('rack', 'rack'),
),
label='Device',
widget=APISelectMultiple(
api_url='/api/dcim/devices/?site_id={{site}}&rack_id={{rack}}',
display_field='display_name',