[ckan-changes] [ckan/ckan] 90efca: Improve the efficiency of user_show

GitHub noreply at github.com
Tue Dec 16 14:16:55 UTC 2014

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

  Changed paths:
    M ckan/controllers/group.py
    M ckan/controllers/user.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/get.py
    M ckan/model/user.py
    M ckan/templates/snippets/context.html
    M ckan/templates/snippets/context/user.html
    M ckan/templates/user/read_base.html
    M ckan/tests/logic/test_action.py
    M ckan/tests/logic/test_tag.py
    M ckan/tests/models/test_user.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py

  Log Message:
  Improve the efficiency of user_show

Instead of returning up to 50 of the datasets that a user can administer
now the call must specify that it wants those datasets by passing in

The num_followers value must also be explicitly requested in order to be
included in the resulting dict.

Revisions are no longer returned, users should call user_activity_list

fixes #2130

More information about the ckan-changes mailing list