From 9ecc858489649755b2d4e90c54a59f038551c418 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 6 Oct 2007 03:54:41 +0000 Subject: =?UTF-8?q?Bug=20374981:=20Custom=20field=20single=20select=20opti?= =?UTF-8?q?ons=20not=20available=20in=20config.cgi=20rdf=20-=20Patch=20by?= =?UTF-8?q?=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dmkanat=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.cgi') diff --git a/config.cgi b/config.cgi index c320ae515..29d1cb8cb 100755 --- a/config.cgi +++ b/config.cgi @@ -55,6 +55,9 @@ $vars->{'op_sys'} = get_legal_field_values('op_sys'); $vars->{'keyword'} = [map($_->name, Bugzilla::Keyword->get_all)]; $vars->{'resolution'} = get_legal_field_values('resolution'); $vars->{'status'} = get_legal_field_values('bug_status'); +$vars->{'custom_fields'} = + [Bugzilla->get_fields({custom => 1, obsolete => 0, type => FIELD_TYPE_SINGLE_SELECT}), + Bugzilla->get_fields({custom => 1, obsolete => 0, type => FIELD_TYPE_MULTI_SELECT})]; # Include a list of product objects. if ($cgi->param('product')) { -- cgit v1.2.1