Bug 583287: Some fields should not be displayed in bugmail for new bugs
r/a=mkanat git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260943 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0538eab478
commit
7a4bc2c460
@ -1 +1 @@
|
||||
7361
|
||||
7362
|
||||
@ -525,10 +525,10 @@ sub sendMail {
|
||||
$value = $value->name;
|
||||
}
|
||||
elsif ($name eq 'estimated_time') {
|
||||
$value = format_time_decimal($value);
|
||||
$value = ($value == 0) ? 0 : format_time_decimal($value);
|
||||
}
|
||||
elsif ($name eq 'deadline') {
|
||||
$value = time2str("%Y-%m-%d", str2time($value));
|
||||
$value = time2str("%Y-%m-%d", str2time($value)) if $value;
|
||||
}
|
||||
|
||||
# If there isn't anything to show, don't include this header.
|
||||
|
||||
@ -214,9 +214,9 @@ use constant DEFAULT_FIELDS => (
|
||||
{name => 'target_milestone', desc => 'Target Milestone',
|
||||
buglist => 1},
|
||||
{name => 'creation_ts', desc => 'Creation date',
|
||||
in_new_bugmail => 1, buglist => 1},
|
||||
buglist => 1},
|
||||
{name => 'delta_ts', desc => 'Last changed date',
|
||||
in_new_bugmail => 1, buglist => 1},
|
||||
buglist => 1},
|
||||
{name => 'longdesc', desc => 'Comment'},
|
||||
{name => 'longdescs.isprivate', desc => 'Comment is private'},
|
||||
{name => 'alias', desc => 'Alias', buglist => 1},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user