Skip to content

Commit

Permalink
add missing filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Bremer committed Jun 6, 2024
1 parent 1e50def commit ab5a7f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion netbox_topology_views/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class DeviceFilterForm(
FieldSet(
'group', 'save_coords', 'show_unconnected', 'show_cables', 'show_logical_connections',
'show_single_cable_logical_conns', 'show_neighbors', 'show_circuit', 'show_power', 'show_wireless',
'group_sites', 'group_locations', 'group_racks', name=_("Options")
'group_sites', 'group_locations', 'group_racks', 'disable_physics', name=_("Options")
),
FieldSet('id', name=_("Device")),
FieldSet('region_id', 'site_group_id', 'site_id', 'location_id', 'rack_id', name=_("Location")),
Expand Down Expand Up @@ -310,6 +310,9 @@ class DeviceFilterForm(
choices=BOOLEAN_WITH_BLANK_CHOICES
)
)
disable_physics = forms.BooleanField(
label =_('Disable Physics'), required=False, initial=False
)

class CoordinateGroupsForm(NetBoxModelForm):
fieldsets = (
Expand Down

0 comments on commit ab5a7f4

Please sign in to comment.