Date Range: Use the properties "created" and "changed" with relationships

Created on 7 August 2023, almost 2 years ago

Problem/Motivation

When using the module with a node loaded by a revision, the filter does not work with the error
Column not found: 1054 Unknown column 'node_field_data.created' in 'where clause'

Steps to reproduce

Create a view with a non-node entity loading a node via views relationship and try to filter it using the date range filter on the "changed" or "created" fields.

Proposed resolution

Make the filter aware of set table aliases by views when using relationships.

Remaining tasks

Review & merge PR.

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany fisherman90 Dortmund

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

Comments & Activities

Production build 0.71.5 2024