Add 'is_any' verb to integer grid filters

This commit is contained in:
Lance Edgar 2017-03-16 13:54:40 -05:00
parent 24765e8dac
commit 68fea2f59a

View file

@ -368,7 +368,7 @@ class AlchemyNumericFilter(AlchemyGridFilter):
# expose greater-than / less-than verbs in addition to core # expose greater-than / less-than verbs in addition to core
default_verbs = ['equal', 'not_equal', 'greater_than', 'greater_equal', default_verbs = ['equal', 'not_equal', 'greater_than', 'greater_equal',
'less_than', 'less_equal', 'is_null', 'is_not_null'] 'less_than', 'less_equal', 'is_null', 'is_not_null', 'is_any']
# TODO: what follows "works" in that it prevents an error...but from the # TODO: what follows "works" in that it prevents an error...but from the
# user's perspective it still fails silently...need to improve on front-end # user's perspective it still fails silently...need to improve on front-end