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 9c5c1e5 commit 39406bbCopy full SHA for 39406bb
src/components/Search/server-actions.tsx
@@ -94,6 +94,8 @@ export async function searchParentContent(
94
siteSpaces.reduce(
95
(acc, siteSpace) => {
96
acc[siteSpace.space.id] = siteSpace.space;
97
+ // replace the published url for the "space" with the site's published url
98
+ acc[siteSpace.space.id].urls.published = siteSpace.urls.published;
99
return acc;
100
},
101
{} as Record<string, Space>,
0 commit comments