[LON-CAPA-cvs] cvs: loncom /interface/statistics lonproblemstatistics.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 29 Mar 2004 19:50:23 -0000
matthew Mon Mar 29 14:50:23 2004 EDT
Modified files:
/loncom/interface/statistics lonproblemstatistics.pm
Log:
Fix bug where the problem count was accurate but misleading: what really
matters is the number of problem parts.
Index: loncom/interface/statistics/lonproblemstatistics.pm
diff -u loncom/interface/statistics/lonproblemstatistics.pm:1.77 loncom/interface/statistics/lonproblemstatistics.pm:1.78
--- loncom/interface/statistics/lonproblemstatistics.pm:1.77 Mon Mar 29 14:45:55 2004
+++ loncom/interface/statistics/lonproblemstatistics.pm Mon Mar 29 14:50:23 2004
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonproblemstatistics.pm,v 1.77 2004/03/29 19:45:55 matthew Exp $
+# $Id: lonproblemstatistics.pm,v 1.78 2004/03/29 19:50:23 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -416,7 +416,7 @@
} else {
my $count = 0;
foreach my $seq (&Apache::lonstatistics::Sequences_with_Assess()) {
- $count += $seq->{'num_assess'};
+ $count += $seq->{'num_assess_parts'};
}
if ($count > 10) {
$r->print('<h2>'.