Skip to content

Backport - MEED-10215, MEED-10246#1627

Merged
hakermi merged 2 commits intostable/7.1.x-exofrom
backport-17022026
Feb 17, 2026
Merged

Backport - MEED-10215, MEED-10246#1627
hakermi merged 2 commits intostable/7.1.x-exofrom
backport-17022026

Conversation

@hakermi
Copy link
Member

@hakermi hakermi commented Feb 17, 2026

Backport - MEED-10215, MEED-10246,

…EED-10215 - Meeds-io/meeds#4029 (#1620)

Prior to this change, when restoring a version, the breadcrumb displayed
the original note title instead of the selected version’s title.

This happened because the `getBreadcrumb` endpoint did not take the lang
query parameter into account. Instead, it relied on the request’s locale
language. As a result, when the requested locale did not match the
targeted version language, the endpoint fell back to the original note
title.

This PR updates the title resolution logic to use the provided target
language query parameter, ensuring that the correct version title is
displayed in the breadcrumb.
 - Meeds-io/meeds#4029 (#1622)

Prior to this change, when restoring a version, the table of content
displays the original note title instead of the selected version’s
title.
This happened because the Resolving titles of Toc json tree doesn't take
into consideration the non exiting or target default request lang
version
This PR updates the title resolution to check the existence of the
target version lang otherwise returns last published version title,
ensuring that the correct version title is
@hakermi hakermi requested a review from Jihed525 February 17, 2026 07:27
@hakermi hakermi enabled auto-merge (rebase) February 17, 2026 07:27
@hakermi hakermi changed the title Backport - MEED-10215, MEED-10246, MEED-10213 Backport - MEED-10215, MEED-10246 Feb 17, 2026
@sonarqubecloud
Copy link

@hakermi hakermi merged commit a65580f into stable/7.1.x-exo Feb 17, 2026
5 checks passed
@hakermi hakermi deleted the backport-17022026 branch February 17, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants