[ckan-changes] [ckan/ckan] eda33f: [#2387] Fix GeoJSON field option in map view

GitHub noreply at github.com
Thu Jul 16 11:17:40 UTC 2015


  Branch: refs/heads/2387-fix-geojson-field-map-view
  Home:   https://github.com/ckan/ckan
  Commit: eda33f835414632852068a153330e6308239d471
      https://github.com/ckan/ckan/commit/eda33f835414632852068a153330e6308239d471
  Author: amercader <amercadero at gmail.com>
  Date:   2015-07-16 (Thu, 16 Jul 2015)

  Changed paths:
    M ckanext/reclineview/plugin.py
    M ckanext/reclineview/theme/templates/recline_map_form.html

  Log Message:
  -----------
  [#2387] Fix GeoJSON field option in map view

Because the datastore fields were limited to numeric ones (to
accommodate the lat/lon option), it was not possible to select a text
field for the geojson option.

This patch separates the types used on both, while keeping the
validation in place and not mixing types between options.




More information about the ckan-changes mailing list