Skip to content

ViewsQueryAlter incorrectly maps the revision base field

Dan Munn requested to merge issue/entity-3219073:3219073-invalid-join-id into 8.x-1.x

Changes look at identifying the revision key and making that part of the basis for the join to the base table, currently this is id but if we have a query that references something like node types (think an alter that applies on moderation views) it causes SQL errors as it falls over where it tries to join the base table on the id field where the revision key between them would be vid.

This looks at trying to be a bit more dynamic for the column that joins.

Closes #3219073

Merge request reports

Loading