[ckan-dev] chained actions
Jari Voutilainen
jari.voutilainen at iki.fi
Thu Mar 28 08:26:58 UTC 2019
Hi,
there's pull request for chaining core actions
https://github.com/ckan/ckan/pull/4509. But currently you can't do it and
you need to override them with calling the original action instead.
Somewhat ugly example what we used can be found here
https://github.com/6aika/sixodp/blob/master/ckanext/ckanext-sixodp_scheming/ckanext/sixodp_scheming/logic/action.py
.
Regards,
Jari
On Wed, Mar 27, 2019 at 1:26 PM Jean Pommier <
jean.pommier at pi-geosolutions.fr> wrote:
> Hi,
>
> When implementing interface IActions, I'm wondering : is
> *ckan.plugins.toolkit.chained_action* usage limited to functions defined
> in other plugins, or can we also chain core actions, like
> *organization_list_for_user*, for instance ?
>
> Thanks,
>
> Best,
>
> Jean
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
--
Jari Voutilainen
jari.voutilainen at iki.fi
040-5538558
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190328/3c027754/attachment-0002.html>
More information about the ckan-dev
mailing list