diff --git a/app/components/pages/search/SearchResults.vue b/app/components/pages/search/SearchResults.vue index f130410..fd62149 100644 --- a/app/components/pages/search/SearchResults.vue +++ b/app/components/pages/search/SearchResults.vue @@ -124,6 +124,14 @@ return localePath({ path: `/solutions/${slug}` }); } + if (item.type === 'document') { + return localePath({ path: `/download/${slug}` }); + } + + if (item.type === 'question') { + return localePath({ path: `/support/faq`, query: { focus: slug } }); + } + return null; }; diff --git a/app/components/shared/QuestionList.vue b/app/components/shared/QuestionList.vue index 58f8ef0..cb64b07 100644 --- a/app/components/shared/QuestionList.vue +++ b/app/components/shared/QuestionList.vue @@ -1,8 +1,9 @@