sennetconsortium / portal-ui

0 stars 1 forks source link

Gather all ancestry information on entity specific page load #1516

Closed maxsibilla closed 1 month ago

maxsibilla commented 1 month ago

With the changes to the Search API the elasticsearch documents no longer contain ancestors, descendants, immediate_ancestors, or immediate_descendants. We will now have to call the Entity API to get this information:

I think this should live inside EntityContext but there may be a better location.

Anywhere in the code the uses data.ancestors, etc.. will have to be changed to use the results of these endpoints instead (e.g. metadata section)