From: Tiago Mello Date: Mon, 5 Jul 2010 23:40:12 +0000 (-0300) Subject: Bug 574177: Adds is_mandatory => 1 option for the product and version field X-Git-Tag: bugzilla-3.7.2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb2e3dd48cc68d5d541acdaf09be58f321e2f74e;p=thirdparty%2Fbugzilla.git Bug 574177: Adds is_mandatory => 1 option for the product and version field definitions. r/a=mkanat --- diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm index 76bb1d41ed..26025015ab 100644 --- a/Bugzilla/Field.pm +++ b/Bugzilla/Field.pm @@ -168,9 +168,10 @@ use constant DEFAULT_FIELDS => ( {name => 'classification', desc => 'Classification', in_new_bugmail => 1, type => FIELD_TYPE_SINGLE_SELECT, buglist => 1}, {name => 'product', desc => 'Product', in_new_bugmail => 1, + is_mandatory => 1, type => FIELD_TYPE_SINGLE_SELECT, buglist => 1}, {name => 'version', desc => 'Version', in_new_bugmail => 1, - buglist => 1}, + is_mandatory => 1, buglist => 1}, {name => 'rep_platform', desc => 'Platform', in_new_bugmail => 1, type => FIELD_TYPE_SINGLE_SELECT, buglist => 1}, {name => 'bug_file_loc', desc => 'URL', in_new_bugmail => 1,