--- loncom/interface/statistics/lonproblemstatistics.pm 2002/08/13 15:01:07 1.22 +++ loncom/interface/statistics/lonproblemstatistics.pm 2002/08/13 15:05:13 1.23 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # (Publication Handler # -# $Id: lonproblemstatistics.pm,v 1.22 2002/08/13 15:01:07 stredwic Exp $ +# $Id: lonproblemstatistics.pm,v 1.23 2002/08/13 15:05:13 stredwic Exp $ # # Copyright Michigan State University Board of Trustees # @@ -178,11 +178,10 @@ sub BuildStatisticsTable { my $count = 1; foreach(@$orderedProblems) { my ($sequence,$problem,$part)=split(':', $_); -# if($cache->{'ProblemStatisticsMaps'} ne 'All Maps' && -# $cache->{'ProblemStatisticsMaps'} ne $cache->{$sequence.':title'}) { -# next; -# } - + if($cache->{'ProblemStatisticsMaps'} ne 'All Maps' && + $cache->{'ProblemStatisticsMaps'} ne $cache->{$sequence.':title'}) { + next; + } my $ref = ''.$cache->{$problem.':title'}.'';