Add API to get details of ancestors of a node
Something like this probably exists already in order to populate the "where am I" popup bar, but I have reimplemented something for Chris Haughton and Tiziana
Something like this probably exists already in order to populate the "where am I" popup bar
This happens entirely in the client, as it already has the details to hand: https://github.com/OneZoom/OZtree/blob/bfcc84f67a3ea3ba7864d345486483606468e798/OZprivate/rawJS/OZTreeModule/src/controller/controller_loc.js
We also have the highly-related common_ancestor_of_otts:
https://github.com/OneZoom/OZtree/blob/main/modules/pinpoint.py#L6-L41
Remove the filters at the end of the query and it'll return the full path to the root.