summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlong_list.cgi3
-rw-r--r--template/en/default/bug/show-multiple.html.tmpl3
2 files changed, 5 insertions, 1 deletions
diff --git a/long_list.cgi b/long_list.cgi
index 08bc6679f..1f8126d19 100755
--- a/long_list.cgi
+++ b/long_list.cgi
@@ -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",
diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl
index 8bf02a099..bda5e4f91 100644
--- a/template/en/default/bug/show-multiple.html.tmpl
+++ b/template/en/default/bug/show-multiple.html.tmpl
@@ -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" } %]