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?

CommentFileSizeAuthor
#4 Query settings_1.png41.72 KBrenatog

Comments

marcoka’s picture

Issue summary: View changes

This 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

renatog’s picture

Issue tags: +ciandt-contrib

Hi, people.

Thank you very much @marcoka.

This project is a good solution.

If anyone has questions please comment.

Regards.

renatog’s picture

Status: Active » Fixed
renatog’s picture

StatusFileSize
new41.72 KB

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.