Hello,

I'm going to set up transitive relationships across different relation types like this:
USER {is interested in} NODE A {provides} NODE B
=
USER {is interested in} NODE B

In this example the two different relationships are {is interested in} and {provides}. If a USER is interested in NODE A and NODE A provides NODE B, the USER is also interested in NODE B.

I'm going to use this in a view for the user. Actually my view (https://drupal.org/node/1410124) shows all nodes the user is directly interested in. Now I'm going to show here nodes the user is transitively interested in. I'm not thinking of changing the view, because if the relation module would be able to handle transitive relations like mentioned above, this would not be necessary. Furthermore I think it's currently not possible to achieve this using views, at least not in conjunction with providing the user nodes he/she is interested in.

Do you think this is a possible feature for the relation module?
I would be very thankful to hear from you...

Comments

chx’s picture

Status: Active » Fixed

You can do this using Views.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anurag Ashok’s picture

Status: Closed (fixed) » Active

Can you tell me how this can be done using views?

chx’s picture

Category: feature » support
naught101’s picture

Status: Active » Closed (fixed)

Please read the Relation Views docs, if you have any specific questions, please ask in a separate issue.

BTW, transitivity is the property of a relation type. It makes no sense in the context of multiple relation types, unless each relation type implies a more general relation type that is itself transitive. Please see #1627340: Dealing with transitive relations. for discussion.