From f47b15886326e61cb2c4f39a4742185772bcbc4e Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Mon, 15 Apr 2024 08:24:32 -0700 Subject: [PATCH] 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 --- netbox/dcim/forms/filtersets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/dcim/forms/filtersets.py b/netbox/dcim/forms/filtersets.py index 95c441381..d8d326271 100644 --- a/netbox/dcim/forms/filtersets.py +++ b/netbox/dcim/forms/filtersets.py @@ -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'),