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

GitHub noreply at github.com
Tue Sep 18 10:10:41 UTC 2012


  Branch: refs/heads/2375-demo-organizations
  Home:   https://github.com/okfn/ckan
  Commit: 1d641d2aaaffd1b955011c3cecedb9ed0854eef4
      https://github.com/okfn/ckan/commit/1d641d2aaaffd1b955011c3cecedb9ed0854eef4
  Author: Ian Murray <ian.c.murray at gmail.com>
  Date:   2012-09-17 (Mon, 17 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: bb2925d9f775966b666babc1ca7ed5ed9e87be65
      https://github.com/okfn/ckan/commit/bb2925d9f775966b666babc1ca7ed5ed9e87be65
  Author: Ian Murray <ian.c.murray at gmail.com>
  Date:   2012-09-17 (Mon, 17 Sep 2012)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  [#2375] Include docstring for deprecated helper function


  Commit: 3ca91d789f7bcbee3a8bc1d75214b6441320ea9f
      https://github.com/okfn/ckan/commit/3ca91d789f7bcbee3a8bc1d75214b6441320ea9f
  Author: Ian Murray <ian.c.murray at gmail.com>
  Date:   2012-09-17 (Mon, 17 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: 076008fcf9c8172b10056e637459917df1928f2b
      https://github.com/okfn/ckan/commit/076008fcf9c8172b10056e637459917df1928f2b
  Author: Ian Murray <ian.c.murray at gmail.com>
  Date:   2012-09-17 (Mon, 17 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.


  Commit: a8514d080efe48f9fcddb5b51b49aa811823e77c
      https://github.com/okfn/ckan/commit/a8514d080efe48f9fcddb5b51b49aa811823e77c
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-09-18 (Tue, 18 Sep 2012)

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

  Log Message:
  -----------
  Merge branch 'master' of github.com:okfn/ckan into 2375-demo-organizations


Compare: https://github.com/okfn/ckan/compare/3adc136007e3...a8514d080efe


More information about the ckan-changes mailing list