fixed only partcial csv export in timesheet, get_rows was not using the num_rows parameter

This commit is contained in:
Ralf Becker 2007-10-07 13:29:59 +00:00
parent ebfa3d6128
commit 2a806e7484

View File

@ -838,7 +838,8 @@ class so_sql
}
}
$rows = (array) $this->search($criteria,false,$query['order']?$query['order'].' '.$query['sort']:'',
'','%',false,'OR',(int)$query['start'],$query['col_filter'],$join,$need_full_no_count);
'','%',false,'OR',$query['num_rows']?array((int)$query['start'],$query['num_rows']):(int)$query['start'],
$query['col_filter'],$join,$need_full_no_count);
return $this->total;
}