From 68fea2f59a66e46741a28f5e2e7afeb07fd33e9c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 16 Mar 2017 13:54:40 -0500 Subject: [PATCH] Add 'is_any' verb to integer grid filters --- tailbone/newgrids/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/newgrids/filters.py b/tailbone/newgrids/filters.py index cba5f313..2fed4280 100644 --- a/tailbone/newgrids/filters.py +++ b/tailbone/newgrids/filters.py @@ -368,7 +368,7 @@ class AlchemyNumericFilter(AlchemyGridFilter): # expose greater-than / less-than verbs in addition to core 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 # user's perspective it still fails silently...need to improve on front-end