summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-01 23:01:50 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-01 23:01:50 +0200
commit3e4ca16191bcf1d07dbdc6c370491446fbf0f028 (patch)
treecf55830324b81465d0afd4000c8ffba0db41aea5 /Bugzilla/Template.pm
parent71f44e682fe7b0f68d3a6a609aa5321c081c3fcc (diff)
downloadbugzilla-3e4ca16191bcf1d07dbdc6c370491446fbf0f028.tar.gz
bugzilla-3e4ca16191bcf1d07dbdc6c370491446fbf0f028.tar.xz
Bug 545766: Figure out what columns can be reported on from the database,
instead of from a static list r=glob, a=mkanat
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm3
1 files changed, 3 insertions, 0 deletions
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 =>