The module works great in views field.
However, I couldn't add it to the relationship in views to retrieve further data from the referenced term.

Does anyone have a clue how to add it?

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

amourow created an issue. See original summary.

bahusafoo’s picture

Running into this as well - the field is not available for relationships within views the same way a normal entity reference is.

Denes.Szabo made their first commit to this issue’s fork.

denes.szabo’s picture

Status: Active » Needs review

I added the hook_field_views_data() hook implementation from the views which handles the entity_reference field.

In my project it seems ok.

denes.szabo’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev

Changed the version to 8.x-2.x.

jannakha’s picture

Status: Needs review » Needs work

@Denes.Szabo - are you going to create a merge request for this issue to review and then to merge into main codebase?