зеркало из https://github.com/mozilla/pjs.git
Fix for bug 204560: display alias in long listing.
Fix by GavinS <bugzilla@chimpychompy.org>. r=myk, a=myk
This commit is contained in:
Родитель
9a65591335
Коммит
8e6c047566
|
@ -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" } %]
|
||||
|
|
Загрузка…
Ссылка в новой задаче