diff options
author | Tiago Mello <timello@gmail.com> | 2010-07-06 01:40:12 +0200 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2010-07-06 01:40:12 +0200 |
commit | cb2e3dd48cc68d5d541acdaf09be58f321e2f74e (patch) | |
tree | d9e4f8a9960a0e438524662fa907d45c87d1d65d | |
parent | 9d74567bea1df66f4572fe526d18c21c87bde799 (diff) | |
download | bugzilla-cb2e3dd48cc68d5d541acdaf09be58f321e2f74e.tar.gz bugzilla-cb2e3dd48cc68d5d541acdaf09be58f321e2f74e.tar.xz |
Bug 574177: Adds is_mandatory => 1 option for the product and version field
definitions.
r/a=mkanat
-rw-r--r-- | Bugzilla/Field.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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, |