From b38a6116227c2162586007506007f63461b97c7f Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 11 Aug 2025 15:11:20 -0400 Subject: [PATCH] Use empty lookup for numeric custom fields instead of isnull --- netbox/utilities/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/utilities/constants.py b/netbox/utilities/constants.py index 9f027f8e1..1ad0d4847 100644 --- a/netbox/utilities/constants.py +++ b/netbox/utilities/constants.py @@ -23,7 +23,7 @@ FILTER_NUMERIC_BASED_LOOKUP_MAP = dict( lt='lt', gte='gte', gt='gt', - empty='isnull', + empty='empty', ) FILTER_NEGATION_LOOKUP_MAP = dict(