ckan / ckanext-geoview

CKAN Geospatial ResourceView
MIT License
43 stars 60 forks source link

JSON resource lead to mapviewer and geoview resource previews #44

Closed jrods closed 8 years ago

jrods commented 8 years ago

view_formats wasn't being reassigned to use the list from the config file which caused a string to string comparison rather than comparing a string to a list item.

This caused all JSON resources to have a mapview created automatically when geojson was specified in the config file.

Features:

Please [X] all the boxes above that apply

amercader commented 8 years ago

Nice catch, thanks @jrods