[Course search] Disable special course switch temporarily

This commit is contained in:
joonas-a
2026-09-21 15:06:32 +03:00
parent c6c2c47402
commit 710ea419c2
@@ -214,16 +214,19 @@ export const SearchForm = () => {
en: 'If "Combine substitutions" is on (default behavior), then course and its substitutions are combined in the statistics.',
})}
/>
<ToggleWithTooltip
checked={includeSpecialCourses}
cypress="show-special-courses-toggle"
label="Show special courses"
onChange={toggleIncludeSpecialCourses}
tooltipText={getTextIn({
fi: 'Sisällyttää hakuun hyväksiluettujen suoritusten pohjalta luodut kurssit',
en: 'Includes course instances formed by transferred credits and other special courses',
})}
/>
{/* oxlint-disable-next-line no-constant-binary-expression */}
{false /* TEMP, TODO: Enable after production data mankeled and feature fixd */ && (
<ToggleWithTooltip
checked={includeSpecialCourses}
cypress="show-special-courses-toggle"
label="Show special courses"
onChange={toggleIncludeSpecialCourses}
tooltipText={getTextIn({
fi: 'Sisällyttää hakuun hyväksiluettujen suoritusten pohjalta luodut kurssit',
en: 'Includes course instances formed by transferred credits and other special courses',
})}
/>
)}
</Grid>
</Grid>
{selectMultipleCourses ? (