[ckan-changes] [okfn/ckan] c0d292: [#2216] Translation of selected facets on dataset ...

GitHub noreply at github.com
Wed Mar 28 17:44:35 UTC 2012


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

  Changed paths:
    M ckan/templates/facets.html
  M ckanext/multilingual/plugin.py

  Log Message:
  -----------
  [#2216] Translation of selected facets on dataset search page

multilingual_dataset plugin adds c.translated_fields dict to template
context, facets.html template uses the translated fields if present.

Not ideal because it adds an extra database query.





More information about the ckan-changes mailing list