mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
"fix for bug #2032: Custon fields data do not export to CVS
(fix not necessary in trunk, as we use so_sql_cf there, which always reads the cf's)"
This commit is contained in:
parent
403913f1ae
commit
8b07ed7ad0
@ -535,8 +535,8 @@ class timesheet_ui extends timesheet_bo
|
||||
unset($query['col_filter'][0]);
|
||||
|
||||
// query cf's for the displayed rows
|
||||
if ($ids && $this->customfields &&
|
||||
in_array('customfields',$cols_to_show=explode(',',$GLOBALS['egw_info']['user']['preferences'][TIMESHEET_APP]['nextmatch-timesheet.index.rows'])))
|
||||
if ($ids && $this->customfields && ($query_in['csv_export'] ||
|
||||
in_array('customfields',$cols_to_show=explode(',',$GLOBALS['egw_info']['user']['preferences'][TIMESHEET_APP]['nextmatch-timesheet.index.rows']))))
|
||||
{
|
||||
$cfs = $this->read_cfs($ids,$cols_to_show);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user