mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-15 12:08:17 -06:00
15685 allow decimal for cable length filter
This commit is contained in:
parent
b7668fbfc3
commit
0b598909c8
@ -977,9 +977,10 @@ 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,
|
||||||
|
min_value=0.1
|
||||||
)
|
)
|
||||||
length_unit = forms.ChoiceField(
|
length_unit = forms.ChoiceField(
|
||||||
label=_('Length unit'),
|
label=_('Length unit'),
|
||||||
|
Loading…
Reference in New Issue
Block a user