Merge branch 'MDL-66600_311' of https://github.com/mkassaei/moodle into MOODLE_311_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2021-02-16 22:12:03 +01:00
2 changed files with 5 additions and 2 deletions
+1 -2
View File
@@ -445,8 +445,7 @@ class quiz_grading_report extends quiz_default_report {
$attempt = $attempts[$qubaid];
$quba = question_engine::load_questions_usage_by_activity($qubaid);
$displayoptions = quiz_get_review_options($this->quiz, $attempt, $this->context);
$displayoptions->hide_all_feedback();
$displayoptions->rightanswer = question_display_options::VISIBLE;
$displayoptions->generalfeedback = question_display_options::HIDDEN;
$displayoptions->history = question_display_options::HIDDEN;
$displayoptions->manualcomment = question_display_options::EDITABLE;
@@ -57,6 +57,10 @@ Feature: Basic use of the Manual grading report
And I set the field "Order attempts" to "By student ID number"
And I press "Change options"
# General feedback for Short answer 001 displays.
And I should see "That is a bad answer."
And I should see "The correct answer is: frog"
# Adjust the mark for Student1.
And I set the field "Comment" to "I have adjusted your mark to 0.6"
And I set the field "Mark" to "0.6"