Commit cb2e3dd4 authored by Tiago Mello's avatar Tiago Mello

Bug 574177: Adds is_mandatory => 1 option for the product and version field

definitions. r/a=mkanat
parent 9d74567b
...@@ -168,9 +168,10 @@ use constant DEFAULT_FIELDS => ( ...@@ -168,9 +168,10 @@ use constant DEFAULT_FIELDS => (
{name => 'classification', desc => 'Classification', in_new_bugmail => 1, {name => 'classification', desc => 'Classification', in_new_bugmail => 1,
type => FIELD_TYPE_SINGLE_SELECT, buglist => 1}, type => FIELD_TYPE_SINGLE_SELECT, buglist => 1},
{name => 'product', desc => 'Product', in_new_bugmail => 1, {name => 'product', desc => 'Product', in_new_bugmail => 1,
is_mandatory => 1,
type => FIELD_TYPE_SINGLE_SELECT, buglist => 1}, type => FIELD_TYPE_SINGLE_SELECT, buglist => 1},
{name => 'version', desc => 'Version', in_new_bugmail => 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, {name => 'rep_platform', desc => 'Platform', in_new_bugmail => 1,
type => FIELD_TYPE_SINGLE_SELECT, buglist => 1}, type => FIELD_TYPE_SINGLE_SELECT, buglist => 1},
{name => 'bug_file_loc', desc => 'URL', in_new_bugmail => 1, {name => 'bug_file_loc', desc => 'URL', in_new_bugmail => 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment