[ckan-changes] [okfn/ckan] 2afe42: [#853] Fix license facets

GitHub noreply at github.com
Wed May 1 08:35:44 UTC 2013


  Branch: refs/heads/853-license-facet
  Home:   https://github.com/okfn/ckan
  Commit: 2afe4269097e21c46547cec68ad80f7a293c5a1a
      https://github.com/okfn/ckan/commit/2afe4269097e21c46547cec68ad80f7a293c5a1a
  Author: amercader <amercadero at gmail.com>
  Date:   2013-05-01 (Wed, 01 May 2013)

  Changed paths:
    M ckan/controllers/package.py
    M ckan/lib/app_globals.py
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#853] Fix license facets

The current default facets were using a 'license' field which is not present
in the Solr index. Changed it to 'license_id' and added some logic in
package_search to return a display name for them.





More information about the ckan-changes mailing list