Skip to content

Commit

Permalink
15685 Allow decimal for cable length filter form (#15703)
Browse files Browse the repository at this point in the history
* 15685 allow decimal for cable length filter

* 15685 allow decimal for cable length filter

* 15685 remove minlenth

* 15685 remove minlenth
  • Loading branch information
arthanson authored Apr 15, 2024
1 parent f7e4fe2 commit f47b158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox/dcim/forms/filtersets.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,9 +977,9 @@ class CableFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
label=_('Color'),
required=False
)
length = forms.IntegerField(
length = forms.DecimalField(
label=_('Length'),
required=False
required=False,
)
length_unit = forms.ChoiceField(
label=_('Length unit'),
Expand Down

0 comments on commit f47b158

Please sign in to comment.