mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[CourseStats] Fix links to courseStats to default combineSubstitutions=true
This commit is contained in:
@@ -100,7 +100,9 @@ export const GradeDistribution = ({
|
||||
<Stack flexDirection="row" sx={{ m: 'auto', mr: '0' }}>
|
||||
<CourseFilterToggle courseCode={code} courseName={name} />
|
||||
{!onlyIamRights ? (
|
||||
<Link to={`/coursestatistics?courseCodes=["${encodeURIComponent(code)}"]&separate=false`}>
|
||||
<Link
|
||||
to={`/coursestatistics?courseCodes=["${encodeURIComponent(code)}"]&separate=false&combineSubstitutions=true`}
|
||||
>
|
||||
<NorthEastIcon sx={{ ml: 1 }} />
|
||||
</Link>
|
||||
) : null}
|
||||
|
||||
+3
-1
@@ -102,7 +102,9 @@ export const PassFailEnrollments = ({
|
||||
<Stack flexDirection="row" sx={{ m: 'auto', mr: '0' }}>
|
||||
<CourseFilterToggle courseCode={code} courseName={name ?? ''} />
|
||||
{!onlyIamRights ? (
|
||||
<Link to={`/coursestatistics?courseCodes=["${encodeURIComponent(code)}"]&separate=false`}>
|
||||
<Link
|
||||
to={`/coursestatistics?courseCodes=["${encodeURIComponent(code)}"]&separate=false&combineSubstitutions=true`}
|
||||
>
|
||||
<NorthEastIcon sx={{ ml: 1 }} />
|
||||
</Link>
|
||||
) : null}
|
||||
|
||||
@@ -111,7 +111,9 @@ export const PassingSemesters = ({ onlyIamRights, courseStatistics, courseTableM
|
||||
<Stack flexDirection="row" sx={{ m: 'auto', mr: '0' }}>
|
||||
<CourseFilterToggle courseCode={code} courseName={name} />
|
||||
{!onlyIamRights ? (
|
||||
<Link to={`/coursestatistics?courseCodes=["${encodeURIComponent(code)}"]&separate=false`}>
|
||||
<Link
|
||||
to={`/coursestatistics?courseCodes=["${encodeURIComponent(code)}"]&separate=false&combineSubstitutions=true`}
|
||||
>
|
||||
<NorthEastIcon sx={{ ml: 1 }} />
|
||||
</Link>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user