Hack to allow 20 questions per page until we support an arbitrary limit

This commit is contained in:
Patrick Donelan 2008-10-24 03:49:08 +00:00
parent efa370825c
commit c049c91976
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ sub getSectionEditVars{
$var{displayed_id} = $address->[0]+1;
delete $var{questions};
delete $var{questionsPerPage};
for(1 .. 10){
for(1 .. 20){
# if($_ == $self->section($address)->{questionsPerPage}){
if($_ == $object->{questionsPerPage}){
push(@{$var{questionsPerPage}},{'index',$_,'selected',1});