From b23880e50b67234a1df3900fb8e6952ef8773b8f Mon Sep 17 00:00:00 2001 From: Jaycie Brown Date: Wed, 12 Nov 2025 10:40:06 +0000 Subject: [PATCH] Include fasttrack questions in related qs --- src/app/components/elements/layout/SidebarLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/elements/layout/SidebarLayout.tsx b/src/app/components/elements/layout/SidebarLayout.tsx index 3af3c975fb..68c4b465c0 100644 --- a/src/app/components/elements/layout/SidebarLayout.tsx +++ b/src/app/components/elements/layout/SidebarLayout.tsx @@ -190,7 +190,7 @@ interface RelatedContentSidebarProps extends SidebarProps { const RelatedContentSidebar = (props: RelatedContentSidebarProps & {pageType: "concept" | "question" | "page"}) => { const relatedConcepts = props.relatedContent?.filter(c => c.type === "isaacConceptPage").sort(sortByStringValue("title")); - const relatedQuestions = props.relatedContent?.filter(c => c.type === "isaacQuestionPage").sort(sortByStringValue("title")); + const relatedQuestions = props.relatedContent?.filter(c => c.type === "isaacQuestionPage" || c.type === "isaacFastTrackQuestionPage").sort(sortByStringValue("title")); const pageContext = useAppSelector(selectors.pageContext.context); const pageContextStage = useAppSelector(selectors.pageContext.stage);