aboutsummaryrefslogtreecommitdiffstats
path: root/colchange.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-09-08 05:14:25 +0000
committermkanat%bugzilla.org <>2007-09-08 05:14:25 +0000
commitaa888f2218179d59b4f0b8e51e43b863f1da3e43 (patch)
tree4e6bf6ff4b7066b19c5b1728dd325adf4bed1f78 /colchange.cgi
parent16336299f17522d040736cb0f063694381d9d761 (diff)
downloadbugs-aa888f2218179d59b4f0b8e51e43b863f1da3e43.tar
bugs-aa888f2218179d59b4f0b8e51e43b863f1da3e43.tar.gz
bugs-aa888f2218179d59b4f0b8e51e43b863f1da3e43.tar.bz2
bugs-aa888f2218179d59b4f0b8e51e43b863f1da3e43.tar.xz
bugs-aa888f2218179d59b4f0b8e51e43b863f1da3e43.zip
Bug 287330: Multi-Select Custom Fields
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'colchange.cgi')
-rwxr-xr-xcolchange.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/colchange.cgi b/colchange.cgi
index b52433924..b2deb3274 100755
--- a/colchange.cgi
+++ b/colchange.cgi
@@ -80,7 +80,9 @@ if (Bugzilla->user->in_group(Bugzilla->params->{"timetrackinggroup"})) {
push(@masterlist, ("short_desc", "short_short_desc"));
-push(@masterlist, Bugzilla->custom_field_names);
+my @custom_fields = grep { $_->type != FIELD_TYPE_MULTI_SELECT }
+ Bugzilla->get_fields({ custom => 1, obsolete => 0 });
+push(@masterlist, map { $_->name } @custom_fields);
$vars->{'masterlist'} = \@masterlist;