aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/recherche
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/recherche')
-rw-r--r--src/pages/recherche/index.tsx11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/pages/recherche/index.tsx b/src/pages/recherche/index.tsx
index 293df0e..bb3aa53 100644
--- a/src/pages/recherche/index.tsx
+++ b/src/pages/recherche/index.tsx
@@ -20,7 +20,8 @@ import {
PageBody,
} from '../../components';
import {
- convertTaxonomyToPageLink,
+ convertWPThematicPreviewToPageLink,
+ convertWPTopicPreviewToPageLink,
fetchPostsCount,
fetchPostsList,
fetchThematicsCount,
@@ -253,7 +254,9 @@ const SearchPage: NextPageWithLayout<SearchPageProps> = ({
{thematicsListTitle}
</Heading>
}
- items={getLinksItemData(thematicsList.map(convertTaxonomyToPageLink))}
+ items={getLinksItemData(
+ thematicsList.map(convertWPThematicPreviewToPageLink)
+ )}
/>
<LinksWidget
heading={
@@ -261,7 +264,9 @@ const SearchPage: NextPageWithLayout<SearchPageProps> = ({
{topicsListTitle}
</Heading>
}
- items={getLinksItemData(topicsList.map(convertTaxonomyToPageLink))}
+ items={getLinksItemData(
+ topicsList.map(convertWPTopicPreviewToPageLink)
+ )}
/>
</PageSidebar>
</Page>