Skip to content

Conversation

@arthanson
Copy link
Collaborator

Fixes: #15685

Cable length is decimal so allow filtering on decimal length.

@arthanson arthanson marked this pull request as ready for review April 11, 2024 16:52
@arthanson arthanson requested a review from jeremystretch April 11, 2024 16:52
Comment on lines 982 to 983
required=False,
min_value=0.01
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per #13649 we allow cable lengths to be set to zero, so the filter should support this as well.

Suggested change
required=False,
min_value=0.01
required=False

@arthanson arthanson requested a review from jeremystretch April 15, 2024 14:23
@jeremystretch jeremystretch merged commit f47b158 into develop Apr 15, 2024
@jeremystretch jeremystretch deleted the 15685-cable-filter-form branch April 15, 2024 15:24
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dcim/cables/Filters/Attributes/Length > UI Field wrong Validation

3 participants