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

#4121 - dynamic filter lookup expressions

This commit is contained in:
John Anderson
2020-02-18 00:32:58 -05:00
parent 9ead2635c5
commit a136a0788c
3 changed files with 94 additions and 17 deletions

View File

@@ -53,6 +53,10 @@ FILTER_NUMERIC_BASED_LOOKUP_MAP = dict(
gt='gt'
)
FILTER_NEGATION_LOOKUP_MAP = dict(
n='exact'
)
FILTER_LOOKUP_HELP_TEXT_MAP = dict(
icontains='case insensitive contains',
iendswith='case insensitive ends with',