From 88157fb0e84c374031020e0bd4ca82bb450bb146 Mon Sep 17 00:00:00 2001 From: Frank Becker Date: Fri, 31 Aug 2012 16:56:54 -0400 Subject: Bug 785729 - Webservice Bug.fields (_legal_field_values) should return isactive for versions, components and milestones r=dkl, a=LpSolit --- Bugzilla/WebService/Bug.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index ea5f82999..75c3c2f61 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -167,6 +167,7 @@ sub _legal_field_values { sort_key => $self->type('int', $sortkey), sortkey => $self->type('int', $sortkey), # deprecated visibility_values => [$self->type('string', $product_name)], + is_active => $self->type('boolean', $value->is_active), }); } } @@ -1190,6 +1191,12 @@ if the C is set to one of the values listed in this array. Note that for per-product fields, C is set to C<'product'> and C will reflect which product(s) this value appears in. +=item C + +C This value is defined only for certain product specific fields +such as version, target_milestone or component. When true, the value is active, +otherwise the value is not active. + =item C C The description of the value. This item is only included for the @@ -1246,6 +1253,8 @@ You specified an invalid field name or id. =item C was renamed to C in Bugzilla B<4.2>. +=item C return key for C was added in Bugzilla B<4.4>. + =back =back -- cgit v1.2.3-24-g4f1b