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

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 28 Feb 2005 17:23:11 -0000


matthew		Mon Feb 28 12:23:11 2005 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
  Log:
  Fix output of csv headers.
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.115 loncom/interface/statistics/lonstudentassessment.pm:1.116
--- loncom/interface/statistics/lonstudentassessment.pm:1.115	Fri Feb 25 18:32:23 2005
+++ loncom/interface/statistics/lonstudentassessment.pm	Mon Feb 28 12:23:11 2005
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.115 2005/02/25 23:32:23 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.116 2005/02/28 17:23:11 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1610,7 +1610,7 @@
             &Apache::loncommon::csv_translate($seq->compTitle).'",';
         my $count = 0;
         if ($chosen_output->{'every_problem'}) {
-            foreach my $res (@{$seq->{'contents'}}) {
+            foreach my $res (&get_resources($navmap,$seq)) {
                 if (scalar(@{$res->parts}) < 1) {
                     next;
                 }