I have a searchable view for users registered on my page. Users on the page can be added to a field on two of the node types on the page. Is there any way I could show the nodes users are added to in the user-view? I looked through all the available fields, and found none that looked fitting. I assume I should relate to the nodetype somehow? I am using Drupal 8.

Comments

pixelsweatshop’s picture

Users on the page can be added to a field on two of the node types on the page

Unless, one of those fields is the author field, then no.

Since you are using the user as the base table in your view, there is no explicitly defined relationship from user > content (unless you are using the author field as mentioned above). Since you have defined content > user you need to start with the base table "content", then add a relationship in the view to the user.

lroedal’s picture

Ok, thanks for the heads up! Guess I will have to rethink how I do it then.