I have several "node reference" fields in one content type. Now, I'd like to create a content pane in Views, that is displayed via page manager on the node page. This content pane should list all other nodes, that reference on the current node in any reference field. The node ID is passed to the view by page manager (option: "from context") to a context filter.
But I don't make any efforts with my several node reference fields. Is it possible to set any option so that I can fill 2 or 3 contextual filters with only one ID (as I only have one, the node ID) and all results are shown, which match on only one of these contextual filters? Right now, all contextual filters have to match for the referencing node being displayed.
The normal filters can be grouped and combined with "or", but it doesn't seem to me, that this is also possible for contextual filters, is it?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Query settings_1.png | 41.72 KB | renatog |
Comments
Comment #1
marcoka commentedThis module changes everything from AND to OR. Maybe it helps. Grouping contextuals isnt possible yet as far as i know.
https://www.drupal.org/project/views_contextual_filters_or
Comment #2
renatog commentedHi, people.
Thank you very much @marcoka.
This project is a good solution.
If anyone has questions please comment.
Regards.
Comment #3
renatog commentedComment #4
renatog commented