]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 574177: Adds is_mandatory => 1 option for the product and version field
authorTiago Mello <timello@gmail.com>
Mon, 5 Jul 2010 23:40:12 +0000 (20:40 -0300)
committerTiago Mello <timello@gmail.com>
Mon, 5 Jul 2010 23:40:12 +0000 (20:40 -0300)
definitions.
r/a=mkanat

Bugzilla/Field.pm

index 76bb1d41edeffc28db2400abbb01bb7446ea2892..26025015ab34a739ecfe19ba49f750b4b077a985 100644 (file)
@@ -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,