diff options
author | myk%mozilla.org <> | 2003-08-05 09:31:19 +0200 |
---|---|---|
committer | myk%mozilla.org <> | 2003-08-05 09:31:19 +0200 |
commit | 25e79eb046ed379b91f9c6930cc1006ee8a30bc4 (patch) | |
tree | 9ec227eb4fbd5a84b5d14913fe6c390bdc31a32f | |
parent | ee7c14dc05644df11362ca5430a4ca9b3fb42761 (diff) | |
download | bugzilla-25e79eb046ed379b91f9c6930cc1006ee8a30bc4.tar.gz bugzilla-25e79eb046ed379b91f9c6930cc1006ee8a30bc4.tar.xz |
Fix for bug 204560: display alias in long listing.
Fix by GavinS <bugzilla@chimpychompy.org>.
r=myk, a=myk
-rwxr-xr-x | long_list.cgi | 3 | ||||
-rw-r--r-- | template/en/default/bug/show-multiple.html.tmpl | 3 |
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" } %] |