[ckan-changes] [okfn/ckan] c186ba: [#498] Fixes being able to add group to dataset fr...

GitHub noreply at github.com
Wed Feb 27 17:36:42 UTC 2013


  Branch: refs/heads/498-attach-group-to-dataset
  Home:   https://github.com/okfn/ckan
  Commit: c186ba348db2ac6e40cad6c7b591efe5cf302305
      https://github.com/okfn/ckan/commit/c186ba348db2ac6e40cad6c7b591efe5cf302305
  Author: John Martin <me at johnmart.in>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

  Changed paths:
    M ckan/public/base/javascript/client.js
    M ckan/templates/package/snippets/package_metadata_fields.html

  Log Message:
  -----------
  [#498] Fixes being able to add group to dataset from the frontend

Essentially the fix is that it was trying to add new groups by 'name'. Which
the select2 box wasn't selecting on. Therefore I've made it so that select2
autocomplete ajax callbacks now format results with an id if they are within
the response.

:boom:





More information about the ckan-changes mailing list