Hi, after puzzling and serching a lot i can't seem to figure out how to solve following situation, where I want to create an attached view that (as I see it) requires 2 arguments that function as a boolean 'OR'
Situation:
======
I have a site documenting sportsmatches. There is a node-type 'team' in which all occurrences are loaded of the participating teams. There is a node-type 'match' in which the matches are documented.
In each 'match' there is a node-reference to two-teams: the hometeam-node and awayteam-node, in separate node-reference fields (multi-value is not possible on node-ref fields).
I now want to create an attached view on the (upper) team entity, that provides all home- ánd away-matches of that team.
Or in SQL-terms:
select *
from matches
where home-team-nid = team-nid
or away-team-nid = team-nid
........... how to fix this with arguments or otherwise?????
Many thanks to anyone that is able to think along ...
Johan