--- loncom/interface/spreadsheet/classcalc.pm 2003/05/29 13:39:38 1.6 +++ loncom/interface/spreadsheet/classcalc.pm 2003/06/12 17:06:44 1.8 @@ -1,5 +1,5 @@ # -# $Id: classcalc.pm,v 1.6 2003/05/29 13:39:38 matthew Exp $ +# $Id: classcalc.pm,v 1.8 2003/06/12 17:06:44 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -175,8 +175,8 @@ END '&sdomain='.$student->{'domain'}.'">'; $student->{'section'} = 'none' if ($student->{'section'} eq '-1'); $r->print(''.''.$rownum.''. - ''.$link.$student->{'fullname'}.''. - ''.$student->{'username'}.''. + ''.$student->{'fullname'}.''. + ''.$link.$student->{'username'}.''. ''.$student->{'domain'} .''. ''.$student->{'section'} .''. ''.$student->{'status'} .''. @@ -282,6 +282,7 @@ sub compute { $self->constants(\%c); $self->formulas(\%f); $self->calcsheet(); + $self->save() if ($self->need_to_save()); } 1;