Key Views Data by Base Table

Created on 22 June 2017, about 8 years ago
Updated 30 July 2025, 13 days ago

extrafield_views_integration_views_data_alter adds fields keyed by entity type ID, which works for e.g. nodes but fails for taxonomy terms (and other content entities) where the base table is named differently.

The data array should be keyed by table names, so let's use the entity type's base table name instead of its ID.

1-line patch to follow.

πŸ› Bug report
Status

Needs work

Version

2.2

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom jacktonkin

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

Comments & Activities

Not all content is available!

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

  • πŸ‡ΊπŸ‡¦Ukraine bohart Lutsk, Ukraine

    Changed the version of this issue. Version 2.2.0 is now released, which means new developments and disruptive changes should be targeted against the 2.2.x development branch.

    Merge requests from the community will be incredibly welcome.
    Note: Only GitLab merge requests (not *.patch files) are reviewed by the currently active maintainer.

    Thanks!

Production build 0.71.5 2024