I m struggling a little bit with a View that gets data from a node that uses two node reference fields, that points to the same type of content. From my path I m getting one string as the argument, let s call it $fruit
.
The query I would make if I was writing the query myself would be something like SELECT * FROM recipe WHERE (fruit_1=$fruit OR fruit_2=$fruit)
. My problem is that I don t get how to do this in a Drupal View. Any suggestions?
UPDATE:
I finally solved what I ve been trying to do. The solution for me was to use Panels
together with a View
using Views Or
arguments, and setting both of the arguments values to the same using the first Panels
argument. Not sure if I m explaining either my problem or my solution properly, but if anyone would need a closer explanation, feel free to ask.