Bug 54750

Long short_descs


git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@575 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2009-12-09 17:35:19 +00:00
parent aeb6ee591d
commit 8ea94a6bb7
1 changed files with 2 additions and 1 deletions

View File

@ -387,6 +387,7 @@ GROUP BY t1.bug_id", {Slice=>{}}, keys %$seen) || {};
# Resolution and summary are shown only if user can see the bug
$row->{resolution} = $row->{short_desc} = '' unless Bugzilla->user->can_see_bug($row->{bug_id});
$row->{bug_status} ||= 'NEW';
$row->{short_desc_uncut} = $row->{short_desc};
if (length $row->{short_desc} > 32)
{
$row->{short_desc} = substr($row->{short_desc}, 0, 32) . '...';
@ -443,7 +444,7 @@ EOF
# Show the bug summary in tooltips only if not shown on
# the graph and it is non-empty (the user can see the bug)
if ($row->{short_desc}) {
$bugtitles->{$row->{bug_id}} .= " $row->{product}/$row->{component} - $row->{short_desc}";
$bugtitles->{$row->{bug_id}} .= " $row->{product}/$row->{component} - $row->{short_desc_uncut}";
}
my $t = $bugtitles->{$row->{bug_id}};