diff --git a/cove_iati/lib/api.py b/cove_iati/lib/api.py index 86c1a8c1b..cb1436a6c 100644 --- a/cove_iati/lib/api.py +++ b/cove_iati/lib/api.py @@ -39,6 +39,7 @@ def iati_json_output(output_dir, file, openag=False, orgids=False): context.update(convert_spreadsheet(output_dir, '', file, file_type, cache=False, xml=True, xml_schemas=[ schema_iati.activity_schema, + schema_iati.organisation_schema, schema_iati.common_schema, ])) data_file = context['converted_path'] diff --git a/cove_iati/views.py b/cove_iati/views.py index 9c4645afd..b3916f9f1 100644 --- a/cove_iati/views.py +++ b/cove_iati/views.py @@ -75,6 +75,7 @@ def explore_iati(request, pk): context.update(convert_spreadsheet(db_data.upload_dir(), db_data.upload_url(), db_data.original_file.file.name, file_type, xml=True, xml_schemas=[ schema_iati.activity_schema, + schema_iati.organisation_schema, schema_iati.common_schema, ])) data_file = context['converted_path']