From ebffdf2f53b0bf04f2526850c1f7c9f152684f17 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 17 Feb 2011 00:10:51 +0000 Subject: [PATCH] Provide proper history widget for Last changed, and stop any more from being logged --- infolog/inc/class.infolog_tracking.inc.php | 1 - infolog/inc/class.infolog_ui.inc.php | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_tracking.inc.php b/infolog/inc/class.infolog_tracking.inc.php index 7ba4c2653d..26d8951432 100644 --- a/infolog/inc/class.infolog_tracking.inc.php +++ b/infolog/inc/class.infolog_tracking.inc.php @@ -56,7 +56,6 @@ class infolog_tracking extends bo_tracking 'info_status' => 'St', 'info_percent' => 'Pe', 'info_datecompleted' => 'Co', - 'info_datemodified' => 'Mo', 'info_location' => 'Lo', 'info_startdate' => 'st', 'info_enddate' => 'En', diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 8281971ad4..f05b582503 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1624,6 +1624,7 @@ class infolog_ui 'Pe' => 'select-percent', 'Co' => 'date-time', 'st' => 'date-time', + 'Mo' => 'date-time', 'En' => 'date', 'Re' => 'select-account', // PM fields, ToDo: access control!!! @@ -1640,6 +1641,8 @@ class infolog_ui { $history_stati[$history] = $tracking->field2label[$field]; } + // Modified date removed from field2history, we don't need that in the history + $history_stati['Mo'] = $tracking->field2label['info_datemodified']; unset($tracking); } else