Skip to content

Commit

Permalink
Merge pull request #3477 from OCHA-DAP/hotfix-roea
Browse files Browse the repository at this point in the history
#3420 - EA Page changes
  • Loading branch information
aalecs committed Sep 2, 2015
2 parents 1c29f6b + c88926a commit 30a9d9f
Show file tree
Hide file tree
Showing 9 changed files with 8,691 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ def assemble_viz_config(self, vis_json_config):
if visualization.get('visualization-select', '') == 'ROEA':
config.update({
'data': "/api/action/datastore_search?resource_id=" + visualization.get('viz-resource-id', '') + "&limit=10000000",
'geo': h.url_for('perma_storage_file', id=visualization.get('viz-geo-dataset-id', ''), resource_id=visualization.get('viz-geo-resource-id', ''))
'geo': h.url_for('perma_storage_file', id=visualization.get('viz-geo-dataset-id', ''), resource_id=visualization.get('viz-geo-resource-id', '')),
'source': visualization.get('viz-data-source', '')
})

if visualization.get('visualization-select', '') == 'WFP':
Expand Down
4 changes: 2 additions & 2 deletions ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/resource.config
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ custom-vis-3w =
custom-vis-roea =
vendor/d3/d3.js
vendor/dc/dc.css
vendor/dc/dc.js
vendor/dc/dc.leaflet.js
widget/ROEA/dc.js
widget/ROEA/dc.leaflet.js
vendor/crossfilter/crossfilter.js
widget/ROEA/site.css
widget/ROEA/site.js
Expand Down
Loading

0 comments on commit 30a9d9f

Please sign in to comment.