Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Sep 22, 2024
1 parent 53f7456 commit eba99bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yente/search/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def filter_query(
datasets.remove(exclude_ds)
if len(datasets):
filterqs.append({"terms": {"datasets": datasets}})
else:
filterqs.append({"match_none": {}})
if schema is not None:
schemata = schema.matchable_schemata
if not schema.matchable:
Expand Down

0 comments on commit eba99bd

Please sign in to comment.