[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Tue, 07 Dec 2004 15:48:30 -0000
matthew Tue Dec 7 10:48:30 2004 EDT
Modified files:
/loncom/interface/statistics lonstudentassessment.pm
Log:
Fix bug in excel output where the sum of a sequence which contained only
one multi-part problem would only include the first part.
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.105 loncom/interface/statistics/lonstudentassessment.pm:1.106
--- loncom/interface/statistics/lonstudentassessment.pm:1.105 Thu Sep 23 13:48:00 2004
+++ loncom/interface/statistics/lonstudentassessment.pm Tue Dec 7 10:48:29 2004
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.105 2004/09/23 17:48:00 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.106 2004/12/07 15:48:29 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1064,13 +1064,14 @@
$cols_output++,
$res->{'title'}.' part '.$part,
$format->{'bold'});
+ $count++;
}
} else {
$excel_sheet->write($resource_name_row,
$cols_output++,
$res->{'title'},$format->{'bold'});
+ $count++;
}
- $count++;
}
}
# Determine ending cell