[ckan-changes] [ckan/ckan] a3f011: [#2346] Dashboard_activity_list_html() dosen't pas...
GitHub
noreply at github.com
Fri Oct 14 15:14:50 UTC 2016
Branch: refs/heads/release-v2.5.3
Home: https://github.com/ckan/ckan
Commit: a3f011310736d5863023d68096943e9a89705164
https://github.com/ckan/ckan/commit/a3f011310736d5863023d68096943e9a89705164
Author: Yan <yan.rudneko at linkdigital.com.au>
Date: 2016-10-14 (Fri, 14 Oct 2016)
Changed paths:
M ckan/logic/action/get.py
Log Message:
-----------
[#2346] Dashboard_activity_list_html() dosen't pass user id
Load more don't work on Dashboard page, because dashboard_activity_list_html() don't pass id as an argument, so in activity-stream.js the user_activity_list_html() gives us an error.
Fix it by passing id from context as we do with model= context['model']. As a result context['user'] gives us the name of current user and we can use it, because user_activity_list_html() can take both id and username as id.
Commit: 7d217de7249dcab9628c37762183987e69517e04
https://github.com/ckan/ckan/commit/7d217de7249dcab9628c37762183987e69517e04
Author: Florian Brucker <florian.brucker at mb.karlsruhe.de>
Date: 2016-10-14 (Fri, 14 Oct 2016)
Changed paths:
M ckan/pastertemplates/template/setup.cfg_tmpl
Log Message:
-----------
[#3275] Fix incorrect i18n paths in extension's setup.cfg template.
The i18n paths for `python setup.py extract_messages`, etc. were missing
a `ckanext/<extension name>/` prefix.
Compare: https://github.com/ckan/ckan/compare/ec3166dd72ab...7d217de7249d
More information about the ckan-changes
mailing list