From 3e4ca16191bcf1d07dbdc6c370491446fbf0f028 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 1 Jul 2010 14:01:50 -0700 Subject: Bug 545766: Figure out what columns can be reported on from the database, instead of from a static list r=glob, a=mkanat --- Bugzilla/Template.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 00d7b6d28..a317bb7c7 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -44,6 +44,7 @@ use Bugzilla::Keyword; use Bugzilla::Util; use Bugzilla::User; use Bugzilla::Error; +use Bugzilla::Search; use Bugzilla::Status; use Bugzilla::Token; @@ -773,6 +774,8 @@ sub create { 'install_string' => \&Bugzilla::Install::Util::install_string, + 'report_columns' => \&Bugzilla::Search::REPORT_COLUMNS, + # These don't work as normal constants. DB_MODULE => \&Bugzilla::Constants::DB_MODULE, REQUIRED_MODULES => -- cgit v1.2.3-24-g4f1b