--- loncom/interface/lonstatistics.pm 2002/08/14 16:18:55 1.44 +++ loncom/interface/lonstatistics.pm 2002/08/14 17:45:19 1.45 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # (Publication Handler # -# $Id: lonstatistics.pm,v 1.44 2002/08/14 16:18:55 stredwic Exp $ +# $Id: lonstatistics.pm,v 1.45 2002/08/14 17:45:19 stredwic Exp $ # # Copyright Michigan State University Board of Trustees # @@ -123,6 +123,8 @@ sub ProcessFormData{ &CheckFormElement($cache, 'ProblemStatisticsSort', 'ProblemStatisticsSort', 'Homework Sets Order'); &CheckFormElement($cache, 'DisplayLegend', 'DisplayLegend', 'Hide Legend'); + &CheckFormElement($cache, 'SortProblems', 'SortProblems', + 'Sort Within Sequence'); # Search only form elements my @headingColumns=(); @@ -580,7 +582,8 @@ sub BuildStatistics { $courseDescription =~ s/\ /"_"/eg; &Apache::lonproblemstatistics::BuildGraphicChart($GoToPage, $cacheDB, $courseDescription, - $r); + $students, $courseID, + $r, $c); } elsif($GoToPage eq 'Class list') { &BuildClasslist($cacheDB, $students, \@studentInformation, \@headings, $r);