I have three content types: A, B and C.
A refers to B and B refers to C
Now with use of the search api module I search my content types and I want to only output
C. But in the result I want to show under which items the
C is put. So some kind of breadcrumb. A view row should look like:
Title of node
Found in: A > B
I am able to output the title of
B but for some reason I'am not able to get the title of
A. I tried to work with relationships in view but the
A reference is not shown even not when I add
B as a relation. I tried adding the content types to my search index and tried adding them direct as field to my search index (
field_content_B:entity:field_content_A:entity:title ). But nothing works. Can someone help me with figuring out what goes wrong?