feat(api): support current filter multivalue
This commit is contained in:
parent
986079ccf8
commit
265a89dd1f
1 changed files with 2 additions and 1 deletions
|
|
@ -135,7 +135,8 @@ def __reverse_sql_operator(op):
|
|||
|
||||
|
||||
def __get_sql_operator_multiple(op: schemas.SearchEventOperator):
|
||||
return " IN " if __is_multivalue(op) else " NOT IN "
|
||||
# op == schemas.SearchEventOperator._is is for filter support
|
||||
return " IN " if __is_multivalue(op) or op == schemas.SearchEventOperator._is else " NOT IN "
|
||||
|
||||
|
||||
def __get_sql_value_multiple(values):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue