Skip to content

Commit

Permalink
fix(chalice): fixed sessions search with negative and positive events
Browse files Browse the repository at this point in the history
  • Loading branch information
tahayk committed Dec 8, 2023
1 parent 8ed68bd commit f396d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ee/api/chalicelib/core/sessions_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1333,8 +1333,8 @@ def search_query_parts_ch(data: schemas.SessionsSearchPayloadSchema, error_statu
if len(events_conditions) > 0:
events_conditions_where.append(f"({' OR '.join([c for c in type_conditions])})")
del type_conditions
if len(value_conditions) > 0:
events_conditions_where.append(f"({' OR '.join([c for c in value_conditions])})")
# if len(value_conditions) > 0:
# events_conditions_where.append(f"({' OR '.join([c for c in value_conditions])})")
del value_conditions
if len(events_conditions_not) > 0:
_value_conditions_not = []
Expand Down

0 comments on commit f396d26

Please sign in to comment.