Include "is/not null" filters for GPC fields

This commit is contained in:
Lance Edgar 2021-06-18 17:39:14 -05:00
parent 5cdd09020d
commit 35aab87fdc

View file

@ -926,7 +926,8 @@ class AlchemyGPCFilter(AlchemyGridFilter):
""" """
GPC filter for SQLAlchemy. GPC filter for SQLAlchemy.
""" """
default_verbs = ['equal', 'not_equal', 'equal_any_of'] default_verbs = ['equal', 'not_equal', 'equal_any_of',
'is_null', 'is_not_null']
def filter_equal(self, query, value): def filter_equal(self, query, value):
""" """