[ckan-dev] List of all datasets from sub-organizations for the parent organization

mane moshref 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:  
 
 Hi Mandana

ckanext-hierarchy implements a field 'include_children' in
snippets/search_form.html. When this is checked desired behaviour
should result.

Maybe you want to try out my fork:
https://github.com/eawag-rdm/ckanext-hierarchy_s

I refactored some stuff but also including datasets from child-
organizations is the default there.

Best,
Harald


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
> children.
> 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.
> 
> Question:
> Does anyone know which part of the code I should modify? or in
> general how this works in CKAN?
> 
> 
> Best regards
> Mandana
> _______________________________________________
> 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
-- 
Harald von Waldow
Eawag
ICT Services
Research Data Management
Ueberlandstrasse 133
8600 Duebendorf
http://www.eawag.ch
https://opendata.eawag.ch_______________________________________________
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/20190826/1a81eb73/attachment-0002.html>


More information about the ckan-dev mailing list