summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-02-25 23:06:24 +0100
committerlpsolit%gmail.com <>2008-02-25 23:06:24 +0100
commit816eb1e9bd788b2b3468481281793639c824996d (patch)
tree9e272644a04e3dec038785e4d819ff9fe25fe1e6 /buglist.cgi
parent8ef50bdaba56ee100821c51ff141e00d26723dc7 (diff)
downloadbugzilla-816eb1e9bd788b2b3468481281793639c824996d.tar.gz
bugzilla-816eb1e9bd788b2b3468481281793639c824996d.tar.xz
Bug 415652: Implement Bugzilla->active_custom_fields - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
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);
}