From cb2e3dd48cc68d5d541acdaf09be58f321e2f74e Mon Sep 17 00:00:00 2001 From: Tiago Mello Date: Mon, 5 Jul 2010 20:40:12 -0300 Subject: Bug 574177: Adds is_mandatory => 1 option for the product and version field definitions. r/a=mkanat --- Bugzilla/Field.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Field.pm') diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm index 76bb1d41e..26025015a 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, -- cgit v1.2.3-24-g4f1b