Hi!

I have an "Excavation" content type where there is a field. ("Archeologist") This field is a reference for another content type, "Archeologist". I would like to create a views, where I display all of excavation with their archeologist in a table and display two exposed filters (title of excavation and archeologist). This module works well with "title of excavation" filter but it doesn't work with archeologist.

Does it support entityreference fields? Or, how can I display archeologist filter as an autocomplete one?

Thanks in advance,

Peter

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

asrob created an issue. See original summary.

vasike’s picture

Status: Active » Fixed

it should work
please check the video for D7. http://codekarate.com/daily-dose-of-drupal/drupal-7-views-autocomplete-f...
it's something similar on D8.
- Add the relationship
- Add the field wanted with the relationship
- Add the filter for this field: expose, use contains and check autocomplete.

That should be all.

asrob’s picture

Hi vasike,

Yeah, I've seen that video. But there is no "contains" option.

vasike’s picture

Status: Active » Fixed

1. If there is no "contains" option it is not this module issue.
2. I think the filter should be done for Name or title of the "Archeologist" entity.

Status: Fixed » Closed (fixed)

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