Skip to content

Commit

Permalink
include most required params for QUIZ_LEARNER_REPORT redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
nucleogenesis committed Jan 30, 2025
1 parent a85c025 commit d089549
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,13 @@
return this.getLearnersForExam(quiz).includes(this.learner.id);
},
quizLink(quizId) {
return this.classRoute(PageNames.QUIZ_LEARNER_REPORT, { quizId });
return this.classRoute(PageNames.QUIZ_LEARNER_REPORT, {
quizId,
learnerId: this.learner.id,
questionId: 0,
interactionIndex: 0,
tryIndex: 0,
});
},
lessonLink(lessonId) {
return this.classRoute(PageNames.LESSON_LEARNER_REPORT, { lessonId });
Expand Down

0 comments on commit d089549

Please sign in to comment.