diff options
author | Albert Ting <altlist@gmail.com> | 2016-03-08 23:06:09 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-03-08 23:06:09 +0100 |
commit | e1f6b9449eba5d15b3e5f24b35896b18c9b644d3 (patch) | |
tree | 5ec781426cbefacaf9a8b86af8d4c4d1bc565ed2 | |
parent | 57d04a5eb587ff0df31f4ede988b107f6d68a84f (diff) | |
download | bugzilla-e1f6b9449eba5d15b3e5f24b35896b18c9b644d3.tar.gz bugzilla-e1f6b9449eba5d15b3e5f24b35896b18c9b644d3.tar.xz |
Bug 1253074 - get_legal_value doesn't work for target milestone
r=dkl
-rw-r--r-- | Bugzilla/Field/Choice.pm | 9 |
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 => { |