Display current revision for translations on first page only

Created on 9 May 2023, about 1 year ago
Updated 20 May 2024, 27 days ago

Problem/Motivation

This relates to two issues: https://www.drupal.org/project/diff/issues/3227907 and https://www.drupal.org/project/drupal/issues/3021671 🐛 Node revisions tab have "Current Version" on every Page Needs work

Diff currently takes over the node revision list, but has not been kept up to date with changes made in the core Node module.

Firstly, as with 3021671 it is missing 'current revision' for translations, which could be fixed by applying the patch in that issue. However, there is an issue with the core Node module that is described in 3021671 and also happening in 3227907: in the core module, it will display a current revision on every page, rather than just 1.

Steps to reproduce

  • Create a node, and add a translation.
  • Add enough revisions to create more than 1 page.
  • No current revision will be listed.

Proposed resolution

I have ported the patch from 3359192. We need to keep an eye on that issue and port over anything that is merged. For anyone encountering the issue in the meanwhile, the MR should help.

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom JPHuxley

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

Comments & Activities

Production build 0.69.0 2024