[ckan-dev] question on plugins.toolkit.get_action('user_list')

frederic.prieur at ville.montreal.qc.ca frederic.prieur at ville.montreal.qc.ca
Thu Jan 23 16:28:30 UTC 2014


Thanks Nigel, without the 'q' parameter,it solve my problem.



De :    Nigel Babu <nigel.babu at okfn.org>
A :     CKAN Development Discussions <ckan-dev at lists.okfn.org>, 
Date :  2014-01-20 04:22
Objet : Re: [ckan-dev] question on plugins.toolkit.get_action('user_list')
Envoyé par :    "ckan-dev" <ckan-dev-bounces at lists.okfn.org>



Hi Frederic,

Can you try without the 'q' parameter?

Nigel Babu
Developer  |  @nigelbabu
The Open Knowledge Foundation
Empowering through Open Knowledge
http://okfn.org/  |  @okfn  |  OKF on Facebook  |  Blog  |  Newsletter

CKAN | http://ckan.org/ | @CKANproject | the world’s leading open-source 
data portal platform


On 15 January 2014 16:53, <frederic.prieur at ville.montreal.qc.ca> wrote:
Hi guys, 

I got a question regarding the plugin.toolkit.get_action request. 

I try to get all the users of my ckan instance with the code above: 

data_dict = { 
        'q': '*:*', 
        'order_by': 'name', 
} 

result = plugins.toolkit.get_action('user_list')(context, data_dict) 



I always get a empty list even if the api call says that i got 5 users. 

Am I doing something wrong ? 

Thanks in advance 
--------------------------------------------------------------------------- 

Frédéric Prieur
_______________________________________________
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

_______________________________________________
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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140123/3cf28bc7/attachment-0003.html>


More information about the ckan-dev mailing list