fixed not filter as different from :or and :and

This commit is contained in:
Guillaume Buisson 2015-09-29 14:33:19 +02:00
parent 6baa9da9f4
commit 21717b6622

View file

@ -29,5 +29,7 @@ Selector filters can be used as the base filters for more complex Boolean expres
(s/either selectorFilter (s/either selectorFilter
regexFilter regexFilter
javascriptFilter javascriptFilter
{:type (s/enum :or :and :not) {:type (s/enum :not)
:field (s/recursive #'Filter)}
{:type (s/enum :or :and)
:fields [(s/recursive #'Filter)]})) :fields [(s/recursive #'Filter)]}))