Replace view filter with entity reference

Created on 31 May 2022, almost 3 years ago
Updated 25 April 2024, 12 months ago

Problem/Motivation

There is a new view filter created in the this core patch ( https://www.drupal.org/files/issues/2021-12-02/2429699-453-9.3.x.patch β†’ ) which lets all entity reference field using entity dropdown or autocomplete instead of numeric textfield as view filter. The target_id field in this module is using numeric as view filter by default. The similar functionality should be applied in this module.

Steps to reproduce

1, Create an entity hierarchy field in specific content type.
2, Create view for this content type with exposed view filter on that entity hierarchy field target_id.
3, The view filter for this field shows as a text field.

Proposed resolution

Replace plugin for target_id field in function entity_hierarchy_field_views_data()

Remaining tasks

User interface changes

Nil

API changes

Nil

Data model changes

Nil

✨ Feature request
Status

Fixed

Version

3.0

Component

Code (module)

Created by

πŸ‡¦πŸ‡ΊAustralia enyug

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024