[ckan-changes] [okfn/ckan] 1d641d: [#2375] Remove duplication in helpers.unselected_f...
    GitHub 
    noreply at github.com
       
    Mon Sep 17 08:42:18 UTC 2012
    
    
  
  Branch: refs/heads/master
  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.
Compare: https://github.com/okfn/ckan/compare/c31c8466f40f...076008fcf9c8
    
    
More information about the ckan-changes
mailing list