--- loncom/interface/lonwhatsnew.pm 2005/06/07 22:05:11 1.19 +++ loncom/interface/lonwhatsnew.pm 2005/07/08 10:39:49 1.22 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.19 2005/06/07 22:05:11 albertel Exp $ +# $Id: lonwhatsnew.pm,v 1.22 2005/07/08 10:39:49 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -178,9 +178,9 @@ sub display_actions_box() { } my %threshold = ( - av_attempts => 0, - degdiff => 0.01, - numstudents => 0, + av_attempts => 2, + degdiff => 0.5, + numstudents => 2, ); my $pgbg=&Apache::loncommon::designparm($function.'.pgbg',$domain); @@ -386,7 +386,7 @@ END } else { $rowColor = $rowColor2; } - $r->print(''.$mailcount.'.  '.$msg->{'shortsub'}.'    '.$msg->{'from'}.'@'.$msg->{'fromdom'}.' '.$msg->{'sendtime'}.''); + $r->print(''.$mailcount.'.  '.$msg->{'shortsub'}.'    '.$msg->{'from'}.'@'.$msg->{'fromdom'}.' '.$msg->{'sendtime'}.''); $rowNum ++; $mailcount ++; } @@ -532,7 +532,7 @@ sub getitems { $$res_title{$symb} = $title; my $ressymb = $resource->wrap_symb(); # Check for unread discussion postings - if (defined($discussiontime{$ressymb})) { + if ($resource->hasDiscussion()) { push(@discussions,$ressymb); my $prevread = 0; my $unreadcount = 0;