mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #2779: Include "none" option when filter IP addresses by role
This commit is contained in:
@@ -913,6 +913,7 @@ class IPAddressFilterForm(BootstrapMixin, CustomFieldFilterForm):
|
||||
choices=IPADDRESS_ROLE_CHOICES,
|
||||
annotate=IPAddress.objects.all(),
|
||||
annotate_field='role',
|
||||
include_null=True,
|
||||
required=False
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user