1

I have two content types location & business. Business type has an entity reference field address which is referencing location. Now I want to use fields of location content type as filters in views to display some business nodes. I have tried relationships & contextual filters but no result appears. Can anyone help ?

EDIT(adding more details): Actually i want to create a search page displaying list of business nodes. But i want to give an additional exposed filter to user for changing the city. City field is part of location content type. Location & Business content type are related using entity reference as explained above. So how can i use this city field as filter in views. Hope this helps!

  • Hi and welcome to Drupal Answers. You should be more specific to your question to get help. – Wtower Sep 24 '14 at 9:26
  • IS this what you are trying to do: drupal.org/node/1841004 – Tritof Sep 26 '14 at 10:33
  • @Triof: i tried this before.. i am able to include fields of referenced node as exposed filters but they are not working when selected. – prince malhotra Sep 26 '14 at 10:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.