Skip to content

Commit

Permalink
fix: index check on search results
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rocheleau committed Feb 12, 2024
1 parent f508dc7 commit 19a09ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bento_aggregation_service/search/dataset_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ async def run_search_on_dataset(
)

# Compute the intersection between the sets of results
results = dataset_linked_fields_results[0]
results = dataset_linked_fields_results[0] if len(dataset_linked_fields_results) > 0 else []
for r in dataset_linked_fields_results:
results.intersection_update(r)

Expand Down

0 comments on commit 19a09ec

Please sign in to comment.