From 629f2c959658c50ec2f4790b80bfe5ff30e3cd82 Mon Sep 17 00:00:00 2001 From: rojanu Date: Thu, 17 May 2012 01:22:41 +0200 Subject: Bug 728138: Custom fields should have a "Long Description" attribute to better understand what they are used for r/a=LpSolit --- editfields.cgi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editfields.cgi') diff --git a/editfields.cgi b/editfields.cgi index 315d3fcc7..5d9e05367 100755 --- a/editfields.cgi +++ b/editfields.cgi @@ -49,6 +49,7 @@ elsif ($action eq 'new') { $vars->{'field'} = Bugzilla::Field->create({ name => scalar $cgi->param('name'), description => scalar $cgi->param('desc'), + long_desc => scalar $cgi->param('long_desc'), type => scalar $cgi->param('type'), sortkey => scalar $cgi->param('sortkey'), mailhead => scalar $cgi->param('new_bugmail'), @@ -99,6 +100,7 @@ elsif ($action eq 'update') { $field || ThrowUserError('customfield_nonexistent', {'name' => $name}); $field->set_description($cgi->param('desc')); + $field->set_long_desc($cgi->param('long_desc')); $field->set_sortkey($cgi->param('sortkey')); $field->set_in_new_bugmail($cgi->param('new_bugmail')); $field->set_enter_bug($cgi->param('enter_bug')); -- cgit v1.2.3-24-g4f1b