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; ...@@ -44,6 +44,7 @@ my $cgi = Bugzilla->cgi;
my $generic_query = " my $generic_query = "
SELECT SELECT
bugs.bug_id, bugs.bug_id,
IFNULL(bugs.alias,''),
products.name, products.name,
bugs.version, bugs.version,
bugs.rep_platform, bugs.rep_platform,
...@@ -82,7 +83,7 @@ foreach my $bug_id (split(/[:,]/, $buglist)) { ...@@ -82,7 +83,7 @@ foreach my $bug_id (split(/[:,]/, $buglist)) {
my %bug; my %bug;
my @row = FetchSQLData(); 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", "op_sys", "bug_status", "resolution", "priority",
"bug_severity", "component", "assigned_to", "reporter", "bug_severity", "component", "assigned_to", "reporter",
"bug_file_loc", "short_desc", "target_milestone", "bug_file_loc", "short_desc", "target_milestone",
......
...@@ -58,6 +58,9 @@ ...@@ -58,6 +58,9 @@
<td> <td>
<b>[% terms.Bug %]#:</b> <b>[% terms.Bug %]#:</b>
<a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a> <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> </td>
[% PROCESS cell attr = { description => "Product", [% PROCESS cell attr = { description => "Product",
name => "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