diff options
author | dave%intrec.com <> | 2001-01-25 06:24:06 +0000 |
---|---|---|
committer | dave%intrec.com <> | 2001-01-25 06:24:06 +0000 |
commit | 144c47058535c630991b466ac80346a30852cb13 (patch) | |
tree | 0cd95d5bb1b3faa745b7cc3cfa9f366a6c031a3e /bug_form.pl | |
parent | 6acecb501e1770efea3f96307973330eb5fa9af1 (diff) | |
download | bugs-144c47058535c630991b466ac80346a30852cb13.tar bugs-144c47058535c630991b466ac80346a30852cb13.tar.gz bugs-144c47058535c630991b466ac80346a30852cb13.tar.bz2 bugs-144c47058535c630991b466ac80346a30852cb13.tar.xz bugs-144c47058535c630991b466ac80346a30852cb13.zip |
Fix for bug 30694: adds title attributes to bug links with bug status and description. Patch by jake@acutex.net
Diffstat (limited to 'bug_form.pl')
-rw-r--r-- | bug_form.pl | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/bug_form.pl b/bug_form.pl index 58f1b6cb2..fcd33a7a1 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -321,24 +321,15 @@ sub EmitDependList { my ($desc, $myfield, $targetfield) = (@_); print "<th align=right>$desc:</th><td>"; my @list; - SendSQL("select dependencies.$targetfield, bugs.bug_status, short_desc + SendSQL("select dependencies.$targetfield from dependencies, bugs where dependencies.$myfield = $id and bugs.bug_id = dependencies.$targetfield order by dependencies.$targetfield"); while (MoreSQLData()) { - my ($i, $stat, $dep_desc) = (FetchSQLData()); + my ($i) = (FetchSQLData()); push(@list, $i); - my $opened = ($stat eq "NEW" || $stat eq "ASSIGNED" || - $stat eq "REOPENED"); - if (!$opened) { - print "<strike>"; - } - $dep_desc = value_quote($dep_desc); - print qq{<a href="show_bug.cgi?id=$i" title="$stat - $dep_desc">$i</a>}; - if (!$opened) { - print "</strike>"; - } + print GetBugLink($i, $i); print " "; } print "</td><td><input name=$targetfield value=\"" . |