From: David Lawrence Date: Tue, 15 Apr 2014 20:56:48 +0000 (+0000) Subject: Bug 995238 - Incomplete implementation of bug 540818 causes include_fields=_all to... X-Git-Tag: bugzilla-4.5.3~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9459f89d2815aa798d9210c03252694398ea8caa;p=thirdparty%2Fbugzilla.git Bug 995238 - Incomplete implementation of bug 540818 causes include_fields=_all to not work as expected r/a=justdave --- diff --git a/Bugzilla/WebService/Server/REST.pm b/Bugzilla/WebService/Server/REST.pm index f4bc47c91c..7aac95170e 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'}) ]; }