Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Drupal 7.31
Views 7.38
So I have three content types, Company, Site, and Report
Site has a node reference field for Company
Report has a node reference field for Site
I am trying to create a view using contextual filters to display all Reports for a particular Company, but my issue is the Report content type only has the Site node reference field so I am not sure how filter the reports based on the Company which is referenced on Site content type not the Report content type.
Thanks,
TJ
Comments
Comment #1
Hars Saraf CreditAttribution: Hars Saraf commentedHave you found a solution to this problem? I'm stuck in a similar situation.
Comment #2
tjferre CreditAttribution: tjferre commentedI did. Send me a PM and include your email and I will email you an export of a view template where I was able to accomplish this... hopefully will be good starting ground for what you are trying to accomplish.
Comment #3
Hars Saraf CreditAttribution: Hars Saraf commentedPlease email me the solution at hsaraf1989@gmail.com. Or post the export here, so that even others can use it.
Thanks,
Hars
Comment #4
MustangGB CreditAttribution: MustangGB commentedClosing this as outdated to tidy up a bit around here. If you're still having problems with the latest release please create a new issue.