--- loncom/interface/lonquickgrades.pm 2003/06/25 18:30:27 1.17 +++ loncom/interface/lonquickgrades.pm 2003/06/25 18:46:09 1.18 @@ -142,11 +142,11 @@ HEADER for my $part (@{$parts}) { if ($showPoints) { - my $score = $curRes->weight() * $curRes->awarded(); + my $score = $curRes->weight($part) * $curRes->awarded($part); $partsRight += $score; $totalRight += $score; $partsCount += $curRes->weight(); - + if ($curRes->opendate($part) < $now) { $totalPossible += $curRes->weight(); }