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

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


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