summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2003-05-13 13:59:35 +0200
committerbugreport%peshkin.net <>2003-05-13 13:59:35 +0200
commitaaf0f48c0ba670c12a94e9e4de1046db7bf59e5b (patch)
tree691665c59fd36ef454f5f3f6ed5a29bc1e53e19c
parent5b477573d0bfffcec90bf5475270d9a0071835d4 (diff)
downloadbugzilla-aaf0f48c0ba670c12a94e9e4de1046db7bf59e5b.tar.gz
bugzilla-aaf0f48c0ba670c12a94e9e4de1046db7bf59e5b.tar.xz
Bug 195977: Add ability to show alias column in buglist
r=jhedlund a=justdave
-rwxr-xr-xbuglist.cgi1
-rwxr-xr-xcolchange.cgi3
2 files changed, 4 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index dbbcc7085..7a2c894bf 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -378,6 +378,7 @@ sub DefineColumn {
# Column: ID Name Title
DefineColumn("bug_id" , "bugs.bug_id" , "ID" );
+DefineColumn("alias" , "bugs.alias" , "Alias" );
DefineColumn("opendate" , "bugs.creation_ts" , "Opened" );
DefineColumn("changeddate" , "bugs.delta_ts" , "Changed" );
DefineColumn("bug_severity" , "bugs.bug_severity" , "Severity" );
diff --git a/colchange.cgi b/colchange.cgi
index 2ff2f3fee..e5b8e6f79 100755
--- a/colchange.cgi
+++ b/colchange.cgi
@@ -51,6 +51,9 @@ my @masterlist = ("opendate", "changeddate", "bug_severity", "priority",
"resolution", "product", "component", "version", "op_sys",
"votes");
+if (Param("usebugaliases")) {
+ unshift(@masterlist, "alias");
+}
if (Param("usetargetmilestone")) {
push(@masterlist, "target_milestone");
}