--- loncom/interface/statistics/lonproblemstatistics.pm 2004/06/04 21:42:18 1.87 +++ loncom/interface/statistics/lonproblemstatistics.pm 2004/06/16 16:22:52 1.89 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemstatistics.pm,v 1.87 2004/06/04 21:42:18 matthew Exp $ +# $Id: lonproblemstatistics.pm,v 1.89 2004/06/16 16:22:52 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -263,7 +263,7 @@ my @Fields = ( graphable => 'yes', long_title => 'Degree of Discrimination', selectable => 'yes', - defaultselected => 'no', + defaultselected => 'yes', }, ## duedate included for research purposes. Commented out most of the time. # { name => 'duedate', @@ -1387,6 +1387,7 @@ sub compute_statistics_on_sequence { foreach my $res (@{$seq->{'contents'}}) { next if ($res->{'type'} ne 'assessment'); foreach my $part (@{$res->{'parts'}}) { + next if ($res->{'partdata'}->{$part}->{'Survey'}); # # This is where all the work happens my $data = &get_statistics($seq,$res,$part,scalar(@StatsArray)+1);