[ckan-changes] [okfn/ckan] 3970e5: [#2199] Refactor search facet rendering and transl...

GitHub noreply at github.com
Fri Mar 2 17:46:36 UTC 2012


  Branch: refs/heads/feature-1821-multilingual-extension
  Home:   https://github.com/okfn/ckan
  Commit: 3970e52008b75933fda1be1d488bed2578d98c9c
      https://github.com/okfn/ckan/commit/3970e52008b75933fda1be1d488bed2578d98c9c
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M ckan/lib/helpers.py
  M ckan/logic/action/get.py
  M ckan/templates/facets.html
  M ckan/templates/group/read.html
  M ckan/templates/package/search.html
  M ckanext/multilingual/plugin.py

  Log Message:
  -----------
  [#2199] Refactor search facet rendering and translation

Change the format of the facets dict returned by package_search() logic
function.

ckan/lib/helpers.py:facet_items() is no longer needed, delete it.

ckan/templates/facets.html Replace old facet_sidebar() function with new
facet_div() function that uses the new facets structure.

ckan/templates/group/read.html, ckan/templates/package/search.html:
Use the new facet_div() function.

ckanext/multilingual/plugin.py Use the new facets structure.





More information about the ckan-changes mailing list