0

I have views1 and view2, where in first view linked with view2 so I have given contextual filter in view both for entity reference field of view2.

Now my problem is when I pass nid of view1 at Preview with contextual filters: it not retaining any data the contextual filter is not working. enter image description here

enter image description here

8
  • can you be more descriptive or add some screenshots ? Oct 30, 2015 at 7:08
  • @HimanshuPathak: yes i can do that
    – neethu
    Oct 30, 2015 at 7:09
  • check in the first screen that i have added the contextual field where in its entity reference field and inter linked with another view1 whenever we passing the node it not filtering
    – neethu
    Oct 30, 2015 at 7:15
  • What I can understand is, you have a content type with field entity reference for other nodes. In the content node you want to show a view of related nodes provided in entity reference field. Right ? Oct 30, 2015 at 7:59
  • @Himanshu Pathak:yes
    – neethu
    Oct 30, 2015 at 8:13

1 Answer 1

0

So you just need to place 1 contextual filter for nid and one relationship with referenced entity, and use that relationship in fields. See the attached screenshot of a demo view. enter image description here

1
  • :while selecting nid view is disappearing
    – neethu
    Nov 5, 2015 at 6:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.