1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

15685 Allow decimal for cable length filter form (#15703)

* 15685 allow decimal for cable length filter

* 15685 allow decimal for cable length filter

* 15685 remove minlenth

* 15685 remove minlenth
This commit is contained in:
Arthur Hanson
2024-04-15 08:24:32 -07:00
committed by GitHub
parent f7e4fe2a9c
commit f47b158863

View File

@ -977,9 +977,9 @@ class CableFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
label=_('Color'), label=_('Color'),
required=False required=False
) )
length = forms.IntegerField( length = forms.DecimalField(
label=_('Length'), label=_('Length'),
required=False required=False,
) )
length_unit = forms.ChoiceField( length_unit = forms.ChoiceField(
label=_('Length unit'), label=_('Length unit'),