Skip to content

Commit

Permalink
FIX: filtering devices fails because mac address filter is a required
Browse files Browse the repository at this point in the history
field
  • Loading branch information
linuxsimba committed Dec 7, 2016
1 parent 4a9b4c5 commit b4940a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/dcim/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ class DeviceFilterForm(BootstrapMixin, CustomFieldFilterForm):
platform = FilterChoiceField(queryset=Platform.objects.annotate(filter_count=Count('devices')),
to_field_name='slug', null_option=(0, 'None'))
status = forms.NullBooleanField(required=False, widget=forms.Select(choices=FORM_STATUS_CHOICES))
mac_address = forms.CharField(label='MAC address')
mac_address = forms.CharField(label='MAC address', required=False)


#
Expand Down

0 comments on commit b4940a6

Please sign in to comment.