summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Field
diff options
context:
space:
mode:
authorAlbert Ting <altlist@gmail.com>2016-03-08 23:06:09 +0100
committerDavid Lawrence <dkl@mozilla.com>2016-03-08 23:06:09 +0100
commite1f6b9449eba5d15b3e5f24b35896b18c9b644d3 (patch)
tree5ec781426cbefacaf9a8b86af8d4c4d1bc565ed2 /Bugzilla/Field
parent57d04a5eb587ff0df31f4ede988b107f6d68a84f (diff)
downloadbugzilla-e1f6b9449eba5d15b3e5f24b35896b18c9b644d3.tar.gz
bugzilla-e1f6b9449eba5d15b3e5f24b35896b18c9b644d3.tar.xz
Bug 1253074 - get_legal_value doesn't work for target milestone
r=dkl
Diffstat (limited to 'Bugzilla/Field')
-rw-r--r--Bugzilla/Field/Choice.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/Bugzilla/Field/Choice.pm b/Bugzilla/Field/Choice.pm
index 140feb46e..3081fb29a 100644
--- a/Bugzilla/Field/Choice.pm
+++ b/Bugzilla/Field/Choice.pm
@@ -53,10 +53,11 @@ use constant VALIDATORS => {
};
use constant CLASS_MAP => {
- bug_status => 'Bugzilla::Status',
- classification => 'Bugzilla::Classification',
- component => 'Bugzilla::Component',
- product => 'Bugzilla::Product',
+ bug_status => 'Bugzilla::Status',
+ classification => 'Bugzilla::Classification',
+ component => 'Bugzilla::Component',
+ product => 'Bugzilla::Product',
+ target_milestone => 'Bugzilla::Milestone',
};
use constant DEFAULT_MAP => {