summaryrefslogtreecommitdiffstats
path: root/colchange.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-08-20 04:27:51 +0200
committermkanat%bugzilla.org <>2008-08-20 04:27:51 +0200
commit8345701835066f68fc66f4177be57d19db6899d6 (patch)
tree057574b4e9fa53d55e0ec16bd6471a312047141a /colchange.cgi
parent9c80dc0d41fcf89640990948e308e683f6d5583f (diff)
downloadbugzilla-8345701835066f68fc66f4177be57d19db6899d6.tar.gz
bugzilla-8345701835066f68fc66f4177be57d19db6899d6.tar.xz
Bug 437005: Add hook to colchange.cgi to add column(s) to buglist
Patch By Elliotte Martin <elliotte_martin@yahoo.com> r=mkanat, a=mkanat
Diffstat (limited to 'colchange.cgi')
-rwxr-xr-xcolchange.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/colchange.cgi b/colchange.cgi
index 01af4baba..cb43b34e3 100755
--- a/colchange.cgi
+++ b/colchange.cgi
@@ -84,6 +84,8 @@ my @custom_fields = grep { $_->type != FIELD_TYPE_MULTI_SELECT }
Bugzilla->active_custom_fields;
push(@masterlist, map { $_->name } @custom_fields);
+Bugzilla::Hook::process("colchange-columns", {'columns' => \@masterlist} );
+
$vars->{'masterlist'} = \@masterlist;
my @collist;