-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
None
-
None
-
None
"Preview in tab" always shows the latest version of the page.
Steps:
- Choose a page that has some versions
- Click "Show versions" and choose the earliest one
- The earliest version is shown
- Click "Preview in tab"
Expected: the earliest version is shown
Actual: the latest version is shown
Note: This happens on minimal-headless-spa-demos also https://git.magnolia-cms.com/projects/DEMOS/repos/minimal-headless-spa-demos/pull-requests/22/overview?commentId=96624
How to fix:
Use "search" as a parameter instead of "href" when calling the getVersion method.
For angular-sample: fixing in root.component.ts
For react-sample: fixing in App.js
For vue-sample: fixing in PageLoader.vue
Acceptance criteria
- is related to
-
MGNLFE-232 Simplify usage of frontend-helpers with magnoliaContext
- Closed