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

GitHub noreply at github.com
Thu Jul 16 13:58:40 UTC 2015


  Branch: refs/heads/release-v2.4.0
  Home:   https://github.com/ckan/ckan
  Commit: c14c8cb2430cab079b80eb69b80ea0ae3865bad4
      https://github.com/ckan/ckan/commit/c14c8cb2430cab079b80eb69b80ea0ae3865bad4
  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