Commit 25e79eb0 authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 204560: display alias in long listing.

Fix by GavinS <bugzilla@chimpychompy.org>. r=myk, a=myk
parent ee7c14dc
......@@ -44,6 +44,7 @@ my $cgi = Bugzilla->cgi;
my $generic_query = "
SELECT
bugs.bug_id,
IFNULL(bugs.alias,''),
products.name,
bugs.version,
bugs.rep_platform,
......@@ -82,7 +83,7 @@ foreach my $bug_id (split(/[:,]/, $buglist)) {
my %bug;
my @row = FetchSQLData();
foreach my $field ("bug_id", "product", "version", "rep_platform",
foreach my $field ("bug_id", "alias", "product", "version", "rep_platform",
"op_sys", "bug_status", "resolution", "priority",
"bug_severity", "component", "assigned_to", "reporter",
"bug_file_loc", "short_desc", "target_milestone",
......
......@@ -58,6 +58,9 @@
<td>
<b>[% terms.Bug %]#:</b>
<a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
[% IF Param("usebugaliases") AND bug.alias %]
([% bug.alias FILTER html %])
[% END %]
</td>
[% PROCESS cell attr = { description => "Product",
name => "product" } %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment