Take into account views field aliases for all field types

Created on 6 May 2025, 1 day ago

Problem/Motivation

The related content scorer currently looks up node field values on taxonomy term reference fields by taking the views machine name and checking if a field with that machine name exists for the entity in the results row. This does not take into account the fact that aliases might be in use by these views fields.

Proposed resolution

Use the views field machine name to lookup the machine name of the field itself, and then get the value from the entity.

This has already been done for datetime fields, find a way to do it for all fields, potentially in another private method.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024