--- loncom/interface/lonstatistics.pm 2003/06/10 18:22:17 1.75 +++ loncom/interface/lonstatistics.pm 2003/10/03 15:34:58 1.78.2.1 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstatistics.pm,v 1.75 2003/06/10 18:22:17 matthew Exp $ +# $Id: lonstatistics.pm,v 1.78.2.1 2003/10/03 15:34:58 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -805,6 +805,46 @@ sub DisplayClasslist { my @Fields = ('fullname','username','domain','id','section'); # my $Str=''; + if (! @Students) { + if ($SelectedSections[0] eq 'all') { + if (lc($ENV{'form.Status'}) eq 'any') { + $Str .= '
'."\n";
$Str .= '
'."\n"; + $Str = ''; +# $Str .= '
'."\n"; # return $Str; } @@ -893,6 +926,8 @@ sub handler { my $r=shift; my $c = $r->connection(); # + &Apache::loncoursedata::clear_internal_caches(); + # # Check for overloading my $loaderror=&Apache::lonnet::overloaderror($r); if ($loaderror) { return $loaderror; } @@ -993,8 +1028,6 @@ END &Apache::lonstudentassessment::BuildStudentAssessmentPage($r,$c); } elsif($GoToPage eq 'DoDiffGraph' || $GoToPage eq 'PercentWrongGraph') { # &Apache::lonproblemstatistics::BuildGraphicChart($r,$c); - } elsif($GoToPage eq 'classlist') { - &DisplayClasslist($r); } elsif($GoToPage eq 'Correct-problems Plot') { # &Apache::lonpercentage::BuildPercentageGraph($r,$c); } |