diff --git a/beacon/conf/api_version.yml b/beacon/conf/api_version.yml index 05aaff1..8b48abd 100644 --- a/beacon/conf/api_version.yml +++ b/beacon/conf/api_version.yml @@ -1 +1 @@ -api_version: v2.0-88f079b +api_version: v2.0-928e368 diff --git a/beacon/connections/mongo/filters.py b/beacon/connections/mongo/filters.py index b4b8f91..0ef64c7 100644 --- a/beacon/connections/mongo/filters.py +++ b/beacon/connections/mongo/filters.py @@ -394,7 +394,7 @@ def apply_filters(self, query: dict, filters: List[dict], collection: str, query partial_query = apply_ontology_filter(self, partial_query, filter, collection, request_parameters, dataset) elif "similarity" in filter or "includeDescendantTerms" in filter or re.match(CURIE_REGEX, filter["id"]) and filter["id"].isupper(): filter = OntologyFilter(**filter)# pragma: no cover - partial_query = apply_ontology_filter(self, partial_query, filter, collection, request_parameters)# pragma: no cover + partial_query = apply_ontology_filter(self, partial_query, filter, collection, request_parameters, dataset)# pragma: no cover else: filter = CustomFilter(**filter) partial_query = apply_custom_filter(self, partial_query, filter, collection, dataset)