Commit 9459f89d authored by David Lawrence's avatar David Lawrence

Bug 995238 - Incomplete implementation of bug 540818 causes include_fields=_all…

Bug 995238 - Incomplete implementation of bug 540818 causes include_fields=_all to not work as expected r/a=justdave
parent a2abedff
......@@ -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'}) ];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment