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 May 7, 2024
1 parent 53294c5 commit 31027ff
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(
(_('Options'), (
'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'
'group_sites', 'group_locations', 'group_racks', 'disable_physics'
)),
(_('Device'), ('id',)),
(_('Location'), ('region_id', 'site_group_id', 'site_id', 'location_id', 'rack_id')),
Expand Down Expand Up @@ -268,6 +268,9 @@ class DeviceFilterForm(
group_racks = forms.BooleanField(
label =_('Group Racks'), required=False, initial=False
)
disable_physics = forms.BooleanField(
label =_('Disable Physics'), required=False, initial=False
)

class CoordinateGroupsForm(NetBoxModelForm):
fieldsets = (
Expand Down

0 comments on commit 31027ff

Please sign in to comment.