From 389b3b557c47aad2118f24582a9f676681d8df68 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 19 Nov 2010 19:05:01 +0000 Subject: [PATCH] Shuffle order of fields (used for CSV export) --- infolog/inc/class.infolog_tracking.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.infolog_tracking.inc.php b/infolog/inc/class.infolog_tracking.inc.php index 34c28120ef..7ba4c2653d 100644 --- a/infolog/inc/class.infolog_tracking.inc.php +++ b/infolog/inc/class.infolog_tracking.inc.php @@ -75,11 +75,14 @@ class infolog_tracking extends bo_tracking /** * Translate field-names to labels * + * @note The order of these fields is used to determine the order for CSV export * @var array */ var $field2label = array( 'info_type' => 'Type', 'info_from' => 'Contact', + 'info_subject' => 'Subject', + 'info_des' => 'Description', 'info_addr' => 'Phone/Email', 'info_link_id' => 'primary link', 'info_cat' => 'Category', @@ -94,8 +97,6 @@ class infolog_tracking extends bo_tracking 'info_startdate' => 'Startdate', 'info_enddate' => 'Enddate', 'info_responsible' => 'Responsible', - 'info_subject' => 'Subject', - 'info_des' => 'Description', // PM fields 'info_planned_time' => 'planned time', 'info_used_time' => 'used time',