Backport - MEED-10215, MEED-10246#1627
Merged
hakermi merged 2 commits intostable/7.1.x-exofrom Feb 17, 2026
Merged
Conversation
…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
0c5611a to
e862842
Compare
e862842 to
8e27583
Compare
|
Jihed525
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Backport - MEED-10215, MEED-10246,