--- loncom/interface/lonstatistics.pm 2003/10/29 15:22:30 1.89 +++ loncom/interface/lonstatistics.pm 2003/11/11 22:14:28 1.90 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstatistics.pm,v 1.89 2003/10/29 15:22:30 matthew Exp $ +# $Id: lonstatistics.pm,v 1.90 2003/11/11 22:14:28 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -225,6 +225,7 @@ sub PrepareClasslist { @SelectedSections = ($ENV{'form.Section'}); } } + &Apache::lonnet::logthis('@SelectedSections = '.join(',',@SelectedSections)); @SelectedSections = ('all') if (! @SelectedSections); foreach (@SelectedSections) { if ($_ eq 'all') { @@ -1158,16 +1159,16 @@ sub handler { &Apache::loncoursedata::delete_caches($ENV{'requres.course.id'}); } # - # Set up the statistics and chart environment - &PrepareClasslist(); - &PrepareCourseData($r); - # # Begin form output $r->print('
print('method="post" action="/adm/statistics">'); $r->rflush(); # my $GoToPage = $ENV{'form.reportSelected'}; + # + # Set up the statistics and chart environment + &PrepareCourseData($r); + # $r->print(''); if($GoToPage eq 'activitylog') {