From 816eb1e9bd788b2b3468481281793639c824996d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 25 Feb 2008 22:06:24 +0000 Subject: Bug 415652: Implement Bugzilla->active_custom_fields - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index b87cdf970..670844bb9 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -672,7 +672,7 @@ 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})) { +foreach my $field (Bugzilla->active_custom_fields) { DefineColumn($field->name, 'bugs.' . $field->name, $field->description); } -- cgit v1.2.3-24-g4f1b