[ckan-changes] [okfn/ckan] 7a32a1: [dictization] Fix for #1490. Use package_dictize

noreply at github.com noreply at github.com
Fri Nov 25 14:45:17 UTC 2011


  Branch: refs/heads/feature-1490-standard-package-output-from-logic-layer
  Home:   https://github.com/okfn/ckan

  Commit: 7a32a16f882560914ff759c49c2f44112f4fb2d7
      https://github.com/okfn/ckan/commit/7a32a16f882560914ff759c49c2f44112f4fb2d7
  Author: amercader <amercadero at gmail.com>
  Date:   2011-11-25 (Fri, 25 Nov 2011)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
  M ckan/logic/action/get.py
  M ckan/model/package.py
  M ckan/tests/lib/test_dictization.py

  Log Message:
  -----------
  [dictization] Fix for #1490. Use package_dictize

Use package_dictize when returning a package_listing, instead of
a custom method in the logic layer. The package_dictize method needed
to be modified to add the "isopen" property.






More information about the ckan-changes mailing list