Open roll opened 5 years ago
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
story.dataset_names
And here we query it - https://github.com/okfn/ckanext-lacounts/blob/master/ckanext/lacounts/helpers.py#L152-L161
@amercader Another issue I'm not sure how to resolve.
Also maybe it's OK to have it as it is, for now.
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-L269And here we query it - https://github.com/okfn/ckanext-lacounts/blob/master/ckanext/lacounts/helpers.py#L152-L161