fix device filter (#393)
This commit is contained in:
@@ -37,7 +37,7 @@ class DeviceFilterForm(
|
||||
'group', 'save_coords', 'show_unconnected', 'show_cables', 'show_logical_connections',
|
||||
'show_single_cable_logical_conns', 'show_neighbors', 'show_circuit', 'show_power', 'show_wireless',
|
||||
)),
|
||||
(_('Device'), ('device_id',)),
|
||||
(_('Device'), ('id',)),
|
||||
(_('Location'), ('region_id', 'site_group_id', 'site_id', 'location_id', 'rack_id')),
|
||||
(_('Operation'), ('status', 'role_id', 'airflow', 'serial', 'asset_tag', 'mac_address')),
|
||||
(_('Hardware'), ('manufacturer_id', 'device_type_id', 'platform_id')),
|
||||
@@ -55,7 +55,7 @@ class DeviceFilterForm(
|
||||
required=False,
|
||||
label=_('Coordinate group'),
|
||||
)
|
||||
device_id = DynamicModelMultipleChoiceField(
|
||||
id = DynamicModelMultipleChoiceField(
|
||||
queryset=Device.objects.all(),
|
||||
required=False,
|
||||
label=_('Device'),
|
||||
|
||||
Reference in New Issue
Block a user