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

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 15 Mar 2005 21:22:39 -0000


matthew		Tue Mar 15 16:22:39 2005 EDT

  Modified files:              
    /loncom/interface	lonstatistics.pm 
  Log:
  Take advantage of lonnavmaps -r 1.318.
  
  
Index: loncom/interface/lonstatistics.pm
diff -u loncom/interface/lonstatistics.pm:1.119 loncom/interface/lonstatistics.pm:1.120
--- loncom/interface/lonstatistics.pm:1.119	Mon Mar 14 15:28:21 2005
+++ loncom/interface/lonstatistics.pm	Tue Mar 15 16:22:38 2005
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstatistics.pm,v 1.119 2005/03/14 20:28:21 matthew Exp $
+# $Id: lonstatistics.pm,v 1.120 2005/03/15 21:22:38 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -587,7 +587,7 @@
                                                sub { shift->is_map(); },1,0,1);
     my @sequences_with_assessments;
     for my $sequence ($navmap->getById('0.0'), @sequences) {
-	if ($navmap->hasResource($sequence,sub { shift->is_problem(); }, 0)){
+	if ($navmap->hasResource($sequence,sub { shift->is_problem(); },0,1)){
             push(@sequences_with_assessments,$sequence);
         }
     }