--- loncom/interface/statistics/lonstudentsubmissions.pm 2010/01/14 17:20:51 1.56 +++ loncom/interface/statistics/lonstudentsubmissions.pm 2010/03/26 13:25:17 1.57 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentsubmissions.pm,v 1.56 2010/01/14 17:20:51 bisitz Exp $ +# $Id: lonstudentsubmissions.pm,v 1.57 2010/03/26 13:25:17 onken Exp $ # # Copyright Michigan State University Board of Trustees # @@ -225,7 +225,12 @@ sub prepare_html_output { my @extra_resp_headers = &get_extra_response_headers(); # # Create the table header - my @student_columns = ('username','domain','id','section'); + my @student_columns = @Apache::lonstatistics::SelectedStudentData; + foreach (@student_columns) { + if($_ eq 'all') { + @student_columns = ('fullname','username','domain','id','section','status','groups','comments'); + } + } # my %headers; my $student_column_count = scalar(@student_columns); @@ -326,8 +331,16 @@ sub prepare_html_output { } last if ($c->aborted()); foreach my $field (@student_columns) { - $student_row_data .= - '