[ckan-changes] [okfn/ckan] c3d7a9: [#2375] Remove duplication in helpers.unselected_f...

GitHub noreply at github.com
Thu Sep 13 12:39:20 UTC 2012


  Branch: refs/heads/2375-demo-theme-development
  Home:   https://github.com/okfn/ckan
  Commit: c3d7a9ac5b8e3079db7e612ffb5c9066c53ca439
      https://github.com/okfn/ckan/commit/c3d7a9ac5b8e3079db7e612ffb5c9066c53ca439
  Author: Ian Murray <ian.c.murray at gmail.com>
  Date:   2012-09-13 (Thu, 13 Sep 2012)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  [#2375] Remove duplication in helpers.unselected_facet_items

Implement unselected_facet_items as call to get_facet_items_dict.  The only
difference should be that the returned facet dicts will have an extra key,
`active`.  This is backward compatible.


  Commit: c2b604ea11fae8f783b33df0e628acfed377204b
      https://github.com/okfn/ckan/commit/c2b604ea11fae8f783b33df0e628acfed377204b
  Author: Ian Murray <ian.c.murray at gmail.com>
  Date:   2012-09-13 (Thu, 13 Sep 2012)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates_legacy/facets.html

  Log Message:
  -----------
  [#2375] Deprecate facet_title helper function.

In favour of get_facet_title, which has improved i18n support.


  Commit: af2b29a386fb7e1b9c5f7be23d287c3964b9c49f
      https://github.com/okfn/ckan/commit/af2b29a386fb7e1b9c5f7be23d287c3964b9c49f
  Author: Ian Murray <ian.c.murray at gmail.com>
  Date:   2012-09-13 (Thu, 13 Sep 2012)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  [#2375] Cast integer-looking strings to ints, not floats.

Minor improvement to the `format_resource_items` helper function
to case int-like strings to integers, not floats.


Compare: https://github.com/okfn/ckan/compare/c31c8466f40f...af2b29a386fb


More information about the ckan-changes mailing list