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

Closes #6138: Add an 'empty' filter modifier for character fields

This commit is contained in:
jeremystretch
2021-07-01 15:17:46 -04:00
parent add95292ce
commit 76a6119584
6 changed files with 45 additions and 23 deletions

View File

@@ -11,7 +11,8 @@ FILTER_CHAR_BASED_LOOKUP_MAP = dict(
isw='istartswith',
nisw='istartswith',
ie='iexact',
nie='iexact'
nie='iexact',
empty='empty',
)
FILTER_NUMERIC_BASED_LOOKUP_MAP = dict(