[ckan-changes] [okfn/ckan] d2693b: [#1384] Update related controller to use a list

GitHub noreply at github.com
Tue Dec 17 04:34:44 UTC 2013


  Branch: refs/heads/1384-related-list-503
  Home:   https://github.com/okfn/ckan
  Commit: d2693b834af3516d279827181bb6f0d88d005ad1
      https://github.com/okfn/ckan/commit/d2693b834af3516d279827181bb6f0d88d005ad1
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-12-16 (Mon, 16 Dec 2013)

  Changed paths:
    M ckan/controllers/related.py

  Log Message:
  -----------
  [#1384] Update related controller to use a list

The controller relied on the output of related_list being a
Query object. Updated them to use the list.


  Commit: f32277034a326867df84082a69fd3d2452a82d3a
      https://github.com/okfn/ckan/commit/f32277034a326867df84082a69fd3d2452a82d3a
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-12-16 (Mon, 16 Dec 2013)

  Changed paths:
    M ckan/tests/functional/test_related.py

  Log Message:
  -----------
  [#1384] Update tests to deal with list

The tests also relied on related_list being a Query instead of
a list. Updated them and added new asserts.


Compare: https://github.com/okfn/ckan/compare/e552048dba78...f32277034a32


More information about the ckan-changes mailing list