[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentsubmissions.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Fri, 19 Nov 2004 19:44:39 -0000
matthew Fri Nov 19 14:44:39 2004 EDT
Modified files:
/loncom/interface/statistics lonstudentsubmissions.pm
Log:
Fixes bug where excel output didn't list the student name for each submission.
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.27 loncom/interface/statistics/lonstudentsubmissions.pm:1.28
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.27 Mon Nov 8 10:21:38 2004
+++ loncom/interface/statistics/lonstudentsubmissions.pm Fri Nov 19 14:44:39 2004
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentsubmissions.pm,v 1.27 2004/11/08 15:21:38 matthew Exp $
+# $Id: lonstudentsubmissions.pm,v 1.28 2004/11/19 19:44:39 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -654,6 +654,14 @@
}
}
}
+ # Fill in the remaining rows with the students data
+ for (my $row = $student_row+1;$row<=$max_row;$row++) {
+ my $cols = 0;
+ foreach my $field (@StudentColumns) {
+ $worksheet->write($row,$cols++,
+ $student->{$field});
+ }
+ }
$rows_output++;
&Apache::lonhtmlcommon::Increment_PrgWin($r,\%prog_state,
'last student');