Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Sep 13, 2024
1 parent 6d6eec5 commit 920b1b1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions server/planning/search/queries/planning.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,10 @@ def search_by_events(params: Dict[str, Any], query: elastic.ElasticQuery):

if len(event_ids):
query.must.append(
elastic.bool_and(
[
elastic.terms(field="related_events._id", values=event_ids),
# elastic.term(field="related_events.link_type", value="primary"),
],
elastic.nested(
"related_events",
)
query=elastic.terms(field="related_events._id", values=event_ids),
),
)


Expand Down

0 comments on commit 920b1b1

Please sign in to comment.