Skip to content

Commit

Permalink
[#959] Also pass IATI organisation schema to flatten-tool for sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Aug 15, 2018
1 parent fe32113 commit ab80159
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cove_iati/lib/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
1 change: 1 addition & 0 deletions cove_iati/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit ab80159

Please sign in to comment.