From 8486d47d1796c4c1dcfcf3e64390ccde9efd6e8a Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Fri, 9 Dec 2022 16:04:46 -0500 Subject: [PATCH] Fixes #11142: Correct available choices for status under IP range filter form --- docs/release-notes/version-3.3.md | 1 + netbox/ipam/forms/filtersets.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/version-3.3.md b/docs/release-notes/version-3.3.md index 0572b7454..75710ae8f 100644 --- a/docs/release-notes/version-3.3.md +++ b/docs/release-notes/version-3.3.md @@ -14,6 +14,7 @@ * [#11087](https://github.com/netbox-community/netbox/issues/11087) - Fix background color of bottom banner content * [#11101](https://github.com/netbox-community/netbox/issues/11101) - Correct circuits count under site view * [#11128](https://github.com/netbox-community/netbox/issues/11128) - Disable ordering changelog table by object to avoid exception +* [#11142](https://github.com/netbox-community/netbox/issues/11142) - Correct available choices for status under IP range filter form --- diff --git a/netbox/ipam/forms/filtersets.py b/netbox/ipam/forms/filtersets.py index 9566e69a9..34b811e94 100644 --- a/netbox/ipam/forms/filtersets.py +++ b/netbox/ipam/forms/filtersets.py @@ -250,7 +250,7 @@ class IPRangeFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm): null_option='Global' ) status = MultipleChoiceField( - choices=PrefixStatusChoices, + choices=IPRangeStatusChoices, required=False ) role_id = DynamicModelMultipleChoiceField(