[ckan-changes] [ckan/ckan] c7439a: Add an option to include datasets to user_show.

GitHub noreply at github.com
Tue Dec 9 20:18:26 UTC 2014


  Branch: refs/heads/2130-user-show-slowness
  Home:   https://github.com/ckan/ckan
  Commit: c7439ae62102fbf9fe78ee42f46a609648ef0a91
      https://github.com/ckan/ckan/commit/c7439ae62102fbf9fe78ee42f46a609648ef0a91
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2014-12-09 (Tue, 09 Dec 2014)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/controllers/user.py
    M ckan/logic/action/get.py
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  Add an option to include datasets to user_show.

Now by default they are not added, so that in most cases there is no
need to be so heavy handed with the database. They can be added by
adding include_datasets to the data_dict as with groups.

Goes some way to fix #2130

Bonus bug fix: bulk_process in group controller was putting
include_datasets in the context instead of the data_dict.  This is now
fixed.




More information about the ckan-changes mailing list