diff --git a/backend/app/exports/export_tasks.py b/backend/app/exports/export_tasks.py index fbe92e342..c323058e7 100644 --- a/backend/app/exports/export_tasks.py +++ b/backend/app/exports/export_tasks.py @@ -68,7 +68,12 @@ class ScenarioExportTasks: **override**, not a co-filter: when present it is used as given; otherwise the ``filters`` are resolved against the portfolio through the shared Modelling Run resolver (ADR-0056).""" - raise NotImplementedError + if property_ids: + return sorted(set(property_ids)) + resolved = resolve_filtered_property_ids( + self._session, portfolio_id, filters + ) + return sorted({filtered.property_id for filtered in resolved}) def create_export_subtask( self, task_id: UUID, subtask_id: UUID, recipe: dict[str, Any]