We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aa17ac commit 48e79a3Copy full SHA for 48e79a3
runner/src/server/plugins/engine/pageControllers/MiniSummaryPageController.ts
@@ -20,8 +20,8 @@ export class MiniSummaryPageController extends PageController {
20
: summary.details[0];
21
22
const items = sectionDetails.items.map((item) => {
23
- const itemURL = item.url.split("%2F").slice(0, -1).join("%2F");
24
- return { ...item, url: `${itemURL}%2F${this.path.substring(1)}` };
+ const returnURL = encodeURIComponent(`/${model.basePath}${this.path}`);
+ return { ...item, url: `${item.pageId}?returnTo=${returnURL}` };
25
});
26
this.details = [{ items }];
27
0 commit comments