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:24 +00:00
parent ea3994993d
commit 336784d74e

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;
}