--- loncom/homework/bridgetask.pm 2006/01/21 08:03:27 1.96 +++ loncom/homework/bridgetask.pm 2006/01/21 08:27:09 1.97 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.96 2006/01/21 08:03:27 albertel Exp $ +# $Id: bridgetask.pm,v 1.97 2006/01/21 08:27:09 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1334,7 +1334,9 @@ sub get_from_queue { $cdom,$cnum); &Apache::lonxml::debug("$starttime"); my $regexp="^$symb\0queue\0"; - my %queue=&Apache::lonnet::dump($queue,$cdom,$cnum,$regexp); + my $range= ($attempts < 1 ) ? '0-100' : '0-400'; + + my %queue=&Apache::lonnet::dump($queue,$cdom,$cnum,$regexp,$range); #make a pass looking for a user _not_ in my section if ($env{'request.course.sec'}) { &Apache::lonxml::debug("sce");