** This is a repost from stackoverflow: http://stackoverflow.com/questions/15556255/drupal-7-views-populate-comm... **

Alright, I have read the posts about using multiple nodes to populate a view, but I cannot figure out how to do an "OR" for this particular situation for views. Here it is:

I have 2 content types, Caregivers and Clients. I am trying to create a view of "Comments" on each Clients page that has been applied directly to the clients node, or with a reference to the client via "Associated Client" on the Caregivers node. For instance:

Client X has a comment about going to the doctor. Caregiver Y has a comment associated to Client X about treatment at the doctor's office via a Node Reference.

What I need to do is populate both comments associated by the NID of the client, and the Node Reference of Associated Client, making it the logic:

Show comments that are attached to this node
AND
Show me comments that are associated to this client.

I have attached screen shots. Please let me know if you need any more information.

** Please see stack overflow post for screen shots **

Thanks for any help.

Comments

MustangGB’s picture

Issue summary: View changes
Status: Active » Closed (outdated)