Shuffle order of fields (used for CSV export)

This commit is contained in:
Nathan Gray 2010-11-19 19:05:01 +00:00
parent 73c445a694
commit 389b3b557c

View File

@ -75,11 +75,14 @@ class infolog_tracking extends bo_tracking
/** /**
* Translate field-names to labels * Translate field-names to labels
* *
* @note The order of these fields is used to determine the order for CSV export
* @var array * @var array
*/ */
var $field2label = array( var $field2label = array(
'info_type' => 'Type', 'info_type' => 'Type',
'info_from' => 'Contact', 'info_from' => 'Contact',
'info_subject' => 'Subject',
'info_des' => 'Description',
'info_addr' => 'Phone/Email', 'info_addr' => 'Phone/Email',
'info_link_id' => 'primary link', 'info_link_id' => 'primary link',
'info_cat' => 'Category', 'info_cat' => 'Category',
@ -94,8 +97,6 @@ class infolog_tracking extends bo_tracking
'info_startdate' => 'Startdate', 'info_startdate' => 'Startdate',
'info_enddate' => 'Enddate', 'info_enddate' => 'Enddate',
'info_responsible' => 'Responsible', 'info_responsible' => 'Responsible',
'info_subject' => 'Subject',
'info_des' => 'Description',
// PM fields // PM fields
'info_planned_time' => 'planned time', 'info_planned_time' => 'planned time',
'info_used_time' => 'used time', 'info_used_time' => 'used time',