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

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 30 Sep 2003 12:09:48 -0000


matthew		Tue Sep 30 08:09:48 2003 EDT

  Modified files:              
    /loncom/interface	loncoursedata.pm 
  Log:
  'correct_by_scantron' is now the same as 'correct_by_student'
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.91 loncom/interface/loncoursedata.pm:1.92
--- loncom/interface/loncoursedata.pm:1.91	Mon Sep 29 15:48:17 2003
+++ loncom/interface/loncoursedata.pm	Tue Sep 30 08:09:48 2003
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursedata.pm,v 1.91 2003/09/29 19:48:17 matthew Exp $
+# $Id: loncoursedata.pm,v 1.92 2003/09/30 12:09:48 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1868,7 +1868,7 @@
          $stats_table);
     my ($Solved) = &execute_SQL_request($dbh,'SELECT COUNT(tries) FROM '.
                                         $stats_table.
-                                        " WHERE solved='correct_by_student'");
+         " WHERE solved='correct_by_student' OR solved='correct_by_scantron'");
     my ($solved) = &execute_SQL_request($dbh,'SELECT COUNT(tries) FROM '.
                                         $stats_table.
                                         " WHERE solved='correct_by_override'");