--- loncom/interface/lonselstudent.pm 2016/10/22 01:53:27 1.16 +++ loncom/interface/lonselstudent.pm 2016/10/22 02:03:31 1.17 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # lonselstudent.pm : Reusable subs for student selection. # -# $Id: lonselstudent.pm,v 1.16 2016/10/22 01:53:27 raeburn Exp $ +# $Id: lonselstudent.pm,v 1.17 2016/10/22 02:03:31 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -324,14 +324,20 @@ SCRIPT $result .= '
'; my $size = scalar(keys(%sections)); - $size += 3; # We have allstudents allpersonel nosection too. - if ($size > 5) { + if ($context eq 'accesstimes') { + $size += 2; + } else { + $size += 3; # We have allstudents allpersonel nosection too. + } + if ($size > 5) { $size = 5; } $result .= '