aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-08-20 02:27:51 +0000
committermkanat%bugzilla.org <>2008-08-20 02:27:51 +0000
commit8345701835066f68fc66f4177be57d19db6899d6 (patch)
tree057574b4e9fa53d55e0ec16bd6471a312047141a /colchange.cgi
parentBug 241198: Don't display disabled flags with no items in the request queue f... (diff)
downloadbugzilla-8345701835066f68fc66f4177be57d19db6899d6.tar.gz
bugzilla-8345701835066f68fc66f4177be57d19db6899d6.tar.bz2
bugzilla-8345701835066f68fc66f4177be57d19db6899d6.zip
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;