1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #13585: Introduce 'empty' lookup for numeric value filters

This commit is contained in:
Jeremy Stretch
2023-08-28 15:10:51 -04:00
parent faf89350ac
commit 480f83c42d
3 changed files with 47 additions and 20 deletions

View File

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