diff --git a/openatlas/api/resources/api_entity.py b/openatlas/api/resources/api_entity.py index 02831daae..945a779f8 100644 --- a/openatlas/api/resources/api_entity.py +++ b/openatlas/api/resources/api_entity.py @@ -48,7 +48,7 @@ def get_linked_entities_with_properties( id_: int, properties: list[str]) -> list[Entity]: properties = list(g.properties) if 'all' in properties else properties - entity = ApiEntity.get_by_id(id_) + entity = ApiEntity.get_by_id(id_, types=True) return ([entity] + entity.get_linked_entities_recursive(properties, types=True) + entity.get_linked_entities_recursive(