Use empty lookup for numeric custom fields instead of isnull

This commit is contained in:
Jeremy Stretch 2025-08-11 15:11:20 -04:00
parent 78b55b8515
commit b38a611622

View File

@ -23,7 +23,7 @@ FILTER_NUMERIC_BASED_LOOKUP_MAP = dict(
lt='lt', lt='lt',
gte='gte', gte='gte',
gt='gt', gt='gt',
empty='isnull', empty='empty',
) )
FILTER_NEGATION_LOOKUP_MAP = dict( FILTER_NEGATION_LOOKUP_MAP = dict(