[ckan-dev] List of all datasets from sub-organizations for the parent organization
many_yammy at yahoo.com
Mon Aug 26 16:48:01 UTC 2019
Many thanks Harald.
Your code / fork works perfectly (except a tiny problem related to encoding Ü/Ö/Ä which is already solved).
I just wondered why the original one doesn't work. I read from the code that "inlcude-children" should do the job, however, it didn't work neither in UI nor by manipulating the could and set it to "True".If it works for others then probably my own problem.
Anyway, you saved my day. Thanks a lotMandana On Monday, August 26, 2019, 04:17:31 PM GMT+2, von Waldow, Harald <Harald.vonWaldow at eawag.ch> wrote:
ckanext-hierarchy implements a field 'include_children' in
snippets/search_form.html. When this is checked desired behaviour
Maybe you want to try out my fork:
I refactored some stuff but also including datasets from child-
organizations is the default there.
On Mon, 2019-08-26 at 11:00 +0000, mane moshref wrote:
> Hello all,
> I am using the ckanext-hierarchy plugin.
> I have some parent organizations which are basically only name
> (without datasets) and under each couple of sub-organizations or
> my use case is that I would like to open a parent organization page
> and there I see the list of all datasets from all sub-organizations.
> Does anyone know which part of the code I should modify? or in
> general how this works in CKAN?
> Best regards
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
Harald von Waldow
Research Data Management
ckan-dev mailing list
ckan-dev at lists.okfn.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ckan-dev