[ckan-dev] hiding child datasets

Prashant Gupta p.gupta at auckland.ac.nz
Sun Dec 17 22:28:30 UTC 2017


Just an update that the problem was with the solr search index, and after rebuilding it, the plugin worked perfectly.

Cheers,
Prashant

From: Prashant Gupta <p.gupta at auckland.ac.nz>
Date: Thursday, 14 December 2017 at 12:54 AM
To: "ckan-dev at lists.okfn.org" <ckan-dev at lists.okfn.org>
Subject: hiding child datasets


Hi



I have been using parent-child relationship for datasets to create hierarchical structured datasets. I am trying to create a plugin to hide child datasets using solr filter options (fq += ' child_of:[* TO *]'). However, it's arbitrarily working on some child datasets and not on some others. Any insights?



Cheers,

Prashant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20171217/36fb3eaa/attachment-0003.html>


More information about the ckan-dev mailing list