[ckan-dev] API requests using JSONP return no results

David Read david.read at hackneyworkshop.com
Mon Feb 18 09:42:13 UTC 2013


This bug was addressed and fixed in the dgu branch. See:

http://trac.ckan.org/ticket/3029

Apologies if this went in the old trac, but I'd assume you still get
emails from it.

David

On 15 February 2013 17:47, Toby Dacre <toby.okfn at gmail.com> wrote:
>
>
> On 15 February 2013 17:28, Adrià Mercader <adria.mercader at okfn.org> wrote:
>>
>> On 15 February 2013 10:13, Sean Hammond <sean.hammond at okfn.org> wrote:
>> >
>> > The Action API's package_search action doesn't seem to support jsonp:
>> >
>> >
>> > http://demo.ckan.org/api/3/action/package_search?q=spending&callback=abcd
>> >
>> > That may be another bug. @ckan-devs, what do you think? Should
>> > package_search support jsonp like other actions do?
>> I would say yes, I can't see why some actions should support it ans
>> others no (should be easy to wrap all output from the action api in
>> the jsonp parameter)
>
>
> yeah looks like we should use _finish() not _finish_ok() and then we'd have
> jsonp support for all actions I'm not sure how any get supported via
> /api/3/action/.... at the moment
>>
>>
>> Adrià
>>
>>
>>
>> > _______________________________________________
>> > ckan-dev mailing list
>> > ckan-dev at lists.okfn.org
>> > http://lists.okfn.org/mailman/listinfo/ckan-dev
>> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>




More information about the ckan-dev mailing list