Skip to content
Snippets Groups Projects

ViewsQueryAlter incorrectly maps the revision base field

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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading