summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-18 04:57:35 +0200
committermkanat%bugzilla.org <>2006-07-18 04:57:35 +0200
commit47a9a892e8fe70863846c00a5858fceffc79b3d0 (patch)
tree1dc6d98a8f8090261ef43ae0ad5f919c490196e6 /buglist.cgi
parent643f05bd8c129b1a40b31665f8209d6935d8b961 (diff)
downloadbugzilla-47a9a892e8fe70863846c00a5858fceffc79b3d0.tar.gz
bugzilla-47a9a892e8fe70863846c00a5858fceffc79b3d0.tar.xz
Bug 344513: Make plain-text custom fields functional on all pages except enter_bug.cgi
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index c16e70a69..882a29777 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -625,6 +625,10 @@ DefineColumn("percentage_complete",
DefineColumn("relevance" , "relevance" , "Relevance" );
DefineColumn("deadline" , $dbh->sql_date_format('bugs.deadline', '%Y-%m-%d') . " AS deadline", "Deadline");
+foreach my $field (Bugzilla->get_fields({ custom => 1, obsolete => 0})) {
+ DefineColumn($field->name, 'bugs.' . $field->name, $field->description);
+}
+
################################################################################
# Display Column Determination
################################################################################