feat(api): fixed not-contains value
This commit is contained in:
parent
e9f14e09f0
commit
c1647245ce
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ def values_for_operator(value: Union[str, list], op: schemas.SearchEventOperator
|
|||
return value + '%'
|
||||
elif op == schemas.SearchEventOperator._ends_with:
|
||||
return '%' + value
|
||||
elif op == schemas.SearchEventOperator._contains:
|
||||
elif op == schemas.SearchEventOperator._contains or op == schemas.SearchEventOperator._not_contains:
|
||||
return '%' + value + '%'
|
||||
return value
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue