From c1a8053e98fa659ffda19fae799423c1762dbd10 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sun, 16 Jan 2005 21:36:02 +0000 Subject: Patch for bug 103636: Support specifying a date on which a bug is expected to be resolved; patch by Alexandre Michetti Manduca , r=jouni, a=myk. --- Bugzilla/Bug.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index d5aa5fd17..bad24b589 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -62,7 +62,7 @@ sub fields { } if (Param('timetrackinggroup')) { - push @fields, qw(estimated_time remaining_time actual_time); + push @fields, qw(estimated_time remaining_time actual_time deadline); } return @fields; @@ -147,7 +147,7 @@ sub initBug { DATE_FORMAT(creation_ts,'%Y.%m.%d %H:%i'), delta_ts, COALESCE(SUM(votes.vote_count), 0), reporter_accessible, cclist_accessible, - estimated_time, remaining_time + estimated_time, remaining_time, DATE_FORMAT(deadline,'%Y-%m-%d') from bugs left join votes using(bug_id), classifications, products, components where bugs.bug_id = $bug_id @@ -170,7 +170,7 @@ sub initBug { "target_milestone", "qa_contact", "status_whiteboard", "creation_ts", "delta_ts", "votes", "reporter_accessible", "cclist_accessible", - "estimated_time", "remaining_time") + "estimated_time", "remaining_time", "deadline") { $fields{$field} = shift @row; if (defined $fields{$field}) { -- cgit v1.2.3-24-g4f1b