Bug 896066 - Allow REST WebService API to for GET /product to allow retrieval of multiple product objects instead of ids
git-svn-id: svn://10.0.0.236/trunk@264901 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2d2dcc1cda
commit
875a3c283c
@ -1 +1 @@
|
|||||||
8656
|
8657
|
||||||
@ -78,7 +78,6 @@ sub get {
|
|||||||
my $products = [];
|
my $products = [];
|
||||||
if (defined $params->{type}) {
|
if (defined $params->{type}) {
|
||||||
my %product_hash;
|
my %product_hash;
|
||||||
my $found = 0;
|
|
||||||
foreach my $type (@{ $params->{type} }) {
|
foreach my $type (@{ $params->{type} }) {
|
||||||
my $result = [];
|
my $result = [];
|
||||||
if ($type eq 'accessible') {
|
if ($type eq 'accessible') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user