--- loncom/interface/statistics/lonproblemstatistics.pm 2004/10/27 18:17:43 1.95 +++ loncom/interface/statistics/lonproblemstatistics.pm 2005/01/11 19:45:18 1.96 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemstatistics.pm,v 1.95 2004/10/27 18:17:43 matthew Exp $ +# $Id: lonproblemstatistics.pm,v 1.96 2005/01/11 19:45:18 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -353,6 +353,17 @@ my @Fields = ( # selectable => 'no', # defaultselected => 'yes', # }, +## weight included for research purposes. Commented out most of the time. +# { name => 'weight', +# title => 'weight', +# align => 'right', +# color => '#FFFFFF', +# sortable => 'no', +# graphable => 'no', +# long_title => 'Problem weight (for instructor)', +# selectable => 'no', +# defaultselected => 'yes', +# }, ); my @SeqFields = ( @@ -1587,6 +1598,8 @@ sub get_statistics { # &Apache::lonnet::EXT('resource.'.$part.'.maxtries',$symb); # $data->{'hinttries'} = # &Apache::lonnet::EXT('resource.'.$part.'.hinttries',$symb); +# $data->{'weight'} = +# &Apache::lonnet::EXT('resource.'.$part.'.weight',$symb); # $data->{'resptypes'} = join(',',@{$resource->{'partdata'}->{$part}->{'ResponseTypes'}}); return $data; }