diff options
author | David Lawrence <dkl@mozilla.com> | 2014-04-15 22:56:48 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-04-15 22:56:48 +0200 |
commit | 9459f89d2815aa798d9210c03252694398ea8caa (patch) | |
tree | 79be388a7b61be87f56f9e700bf0cefb83818e91 /Bugzilla/WebService | |
parent | a2abedffec451373e6b24ec1744d3d51be44c4ea (diff) | |
download | bugzilla-9459f89d2815aa798d9210c03252694398ea8caa.tar.gz bugzilla-9459f89d2815aa798d9210c03252694398ea8caa.tar.xz |
Bug 995238 - Incomplete implementation of bug 540818 causes include_fields=_all to not work as expected
r/a=justdave
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Server/REST.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Bugzilla/WebService/Server/REST.pm b/Bugzilla/WebService/Server/REST.pm index f4bc47c91..7aac95170 100644 --- a/Bugzilla/WebService/Server/REST.pm +++ b/Bugzilla/WebService/Server/REST.pm @@ -312,15 +312,6 @@ sub bz_rest_options { sub rest_include_exclude { my ($params) = @_; - # _all is same as default columns - if ($params->{'include_fields'} - && ($params->{'include_fields'} eq '_all' - || $params->{'include_fields'} eq '_default')) - { - delete $params->{'include_fields'}; - delete $params->{'exclude_fields'} if $params->{'exclude_fields'}; - } - if ($params->{'include_fields'} && !ref $params->{'include_fields'}) { $params->{'include_fields'} = [ split(/[\s+,]/, $params->{'include_fields'}) ]; } |