[ckan-dev] package_search by organisation name
a.lulham at gmail.com
Tue Dec 18 11:14:46 UTC 2018
Thanks Matthew! That perfectly answers my question!
Unfortunately, it turns out I got my question slightly wrong :(
I’m actually interested in searching by the organisation _title_, not
_name_. Both would also be fine, but I really need a way to ensure the
organisation title is included in the search.
So for example, using your solution the following works, because
there’s an organisation with the name “organizacion-de-pepe-foo”:
The same organisation has the title “organizacion de pepe foo”. But
the following search doesn’t work, presumably because it’s not
searching the organisation title field:
In case it’s useful, the relevant ticket is here:
Thanks again Matthew, and apologies for my error.
On Tue, 18 Dec 2018 at 05:44, Matthew Fullerton
<matt.fullerton at gmail.com> wrote:
> Seems to do it
> On Mon, 17 Dec 2018 at 18:49, Andy Lulham <a.lulham at gmail.com> wrote:
>> Hi there,
>> The following API URL returns various packages, including one from an
>> organisation named “opendata_rco”:
>> I’d like to create an API query that just returns the package(s) from
>> this organisation.
>> I guess this query would be something like:
>> …but that’s obviously not quite right, since it returns zero results.
>> Could someone enlighten me as to the correct query? Thanks in advance!
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
More information about the ckan-dev