diff options
author | Frank Becker <Frank@Frank-Becker.de> | 2012-08-31 22:56:54 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-08-31 22:56:54 +0200 |
commit | 88157fb0e84c374031020e0bd4ca82bb450bb146 (patch) | |
tree | 8ea5ae36ab7c525a6718ab74057508ae0036ab7e /Bugzilla/WebService | |
parent | 30987a363fbcb5a3c3a15a69b4a0e3cdac956da8 (diff) | |
download | bugzilla-88157fb0e84c374031020e0bd4ca82bb450bb146.tar.gz bugzilla-88157fb0e84c374031020e0bd4ca82bb450bb146.tar.xz |
Bug 785729 - Webservice Bug.fields (_legal_field_values) should return isactive for versions, components and milestones
r=dkl, a=LpSolit
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 9 |
1 files changed, 9 insertions, 0 deletions
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<value_field> is set to one of the values listed in this array. Note that for per-product fields, C<value_field> is set to C<'product'> and C<visibility_values> will reflect which product(s) this value appears in. +=item C<is_active> + +C<boolean> 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<description> C<string> 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<sortkey> was renamed to C<sort_key> in Bugzilla B<4.2>. +=item C<is_active> return key for C<values> was added in Bugzilla B<4.4>. + =back =back |