]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1253074 - get_legal_value doesn't work for target milestone
authorAlbert Ting <altlist@gmail.com>
Tue, 8 Mar 2016 22:06:09 +0000 (22:06 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Tue, 8 Mar 2016 22:06:09 +0000 (22:06 +0000)
r=dkl

Bugzilla/Field/Choice.pm

index 140feb46e8a4131ee91c9c7ffd52809cb4cc93f8..3081fb29a1bf635e791e1c2f8a37524956dc77ec 100644 (file)
@@ -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 => {