[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 30 Sep 2003 11:41:06 -0000


matthew		Tue Sep 30 07:41:06 2003 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
  Log:
  Make correct_by_scantron the same as correct_by_student in the chart.
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.67 loncom/interface/statistics/lonstudentassessment.pm:1.68
--- loncom/interface/statistics/lonstudentassessment.pm:1.67	Wed Sep 10 11:06:34 2003
+++ loncom/interface/statistics/lonstudentassessment.pm	Tue Sep 30 07:41:06 2003
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.67 2003/09/10 15:06:34 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.68 2003/09/30 11:41:06 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1405,7 +1405,8 @@
                 } elsif ($status eq 'excused') {
                     $symbol = 'x';
                     $max--;
-                } elsif ($status eq 'correct_by_student' &&
+                } elsif (($status eq 'correct_by_scantron' ||
+                          $status eq 'correct_by_student') &&
                     exists($resource_data->{'resource.'.$partnum.'.tries'})){
                     $tries = $resource_data->{'resource.'.$partnum.'.tries'};
                     if ($tries > 9) {