Skip to content

Commit c00ff32

Browse files
author
Eric Bohanon
committed
MAGETWO-82674: GraphQL Full Text Search
1 parent a5d0ce6 commit c00ff32

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/GraphQlConfigurableProduct/Model/Plugin/Model/Resolver/Products/DataProvider

1 file changed

+1
-2
lines changed

app/code/Magento/GraphQlConfigurableProduct/Model/Plugin/Model/Resolver/Products/DataProvider/ProductPlugin.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,9 @@ public function afterGetList(Product $subject, SearchResultsInterface $result)
9595
$children = $this->productCollection->getItems();
9696
/** @var Attribute[] $attributes */
9797
$attributes = $this->attributeCollection->getItems();
98+
$result = $this->addConfigurableData($result, $children, $attributes);
9899
}
99100

100-
$result = $this->addConfigurableData($result, $children, $attributes);
101-
102101
return $result;
103102
}
104103

0 commit comments

Comments
 (0)