Skip to content

Commit

Permalink
Show non-zero status of unattempted problems in grades table.
Browse files Browse the repository at this point in the history
This fixes openwebwork#2627.
  • Loading branch information
somiaj committed Nov 21, 2024
1 parent b15d6cc commit 81bd67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WeBWorK/Utils/Sets.pm
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ sub grade_set ($db, $set, $studentName, $setIsVersioned = 0, $wantProblemDetails
$status = 1 if $status > 1;

if ($wantProblemDetails) {
push(@$problem_scores, $problemRecord->attempted ? 100 * wwRound(2, $status) : ' . ');
push(@$problem_scores, $status || $problemRecord->attempted ? 100 * wwRound(2, $status) : ' . ');
push(@$problem_incorrect_attempts, $problemRecord->num_incorrect || 0);
}

Expand Down

0 comments on commit 81bd67d

Please sign in to comment.