qtrimble
qtrimble

Reputation: 3

Use the unique values from a field in one content type as a filter in another content type

I need some help with a Drupal views filter. I'm not a developer but I have been using Drupal for several years.

I have a content type named 'City/Town' that contains several fields including state and county. I'm using this content type as an entity reference field in another content type named 'Project'.

I would like to use a unique value list of States as a filter in a view of Projects.

I've installed the Views Entity Reference Filter (https://www.drupal.org/project/verf) module but I'm only able to access the entity reference title, not any of the fields that are part of the content type.

The project I'm working on is still in design phase so I can change my approach if there is a viable solution.

Upvotes: 0

Views: 442

Answers (1)

Schwarz Developing
Schwarz Developing

Reputation: 293

You need to get the relationship to the reference in views. Then you have access to the fields of the reference for viewing, sorting & filtering. enter image description here

Upvotes: 0

Related Questions