Moderated content: "last edit by" shows author of default revision, not last revision

Created on 20 November 2024, about 2 months ago

Problem/Motivation

The moderated content view has a "last edit by" column, which I assumed would show the user who made the last change to a node. But it turns out that if there are forward revisions, the author of the node's default revision is shown instead.

Steps to reproduce

  1. As user A, create a node draft. The node is shown in Moderated Content with user A in "last edit by".
  2. As user B, publish the node. The node is not shown in Moderated Content any more.
  3. As user A, create a new draft on the same node.

Expected behaviour: column "last edit by" shows user A.
Actual behaviour: user B is shown.

Proposed resolution

Don't use the nid relation for the revision_uid column.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.3

Component

Code

Created by

🇩🇪Germany mrshowerman Munich

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