okfn / ckanext-lacounts

CKAN extension for the LA Counts project
GNU Affero General Public License v3.0
8 stars 5 forks source link

Related datasets back-referencing works only partially #128

Open roll opened 5 years ago

roll commented 5 years ago

Overview

It's a very weird issue because it works for embedded datasets (when we add a resource to the contents) but it doesn't work for related datasets (when we use form UI). It's weird because both use the same mechanism for back-referencing.

Here we create story.dataset_names for indexing - https://github.com/okfn/ckanext-showcase/blob/master/ckanext/showcase/plugin.py#L231-L269

And here we query it - https://github.com/okfn/ckanext-lacounts/blob/master/ckanext/lacounts/helpers.py#L152-L161

roll commented 5 years ago

@amercader Another issue I'm not sure how to resolve.

Also maybe it's OK to have it as it is, for now.