[ckan-changes] [okfn/ckan] 546caa: [#1384] Update documentation for related_list

GitHub noreply at github.com
Tue Dec 17 05:13:57 UTC 2013


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

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#1384] Update documentation for related_list

The related_list function should not need an id or dataset
parameter. We use it ourselves in the related dashboard
without an id or dataset parameter.


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

  Changed paths:
    M ckan/lib/dictization/model_dictize.py

  Log Message:
  -----------
  [#1384] Remove sorted from model_dictize

related_items is already sorted from the database query.
Adding another sorting at the model_dictize level looks
unnecessary and overrides the one from the query.


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


More information about the ckan-changes mailing list