We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11d0a35 commit 25133c5Copy full SHA for 25133c5
app/code/Magento/MediaGalleryCatalogUi/Ui/Component/Listing/Columns/Thumbnail.php
@@ -72,7 +72,7 @@ public function prepareDataSource(array $dataSource)
72
if (isset($item[$fieldName])) {
73
$item[$fieldName . '_src'] = $this->getUrl($item[$fieldName]);
74
} else {
75
- $category = $this->productFactory->create($item);
+ $category = $this->productFactory->create(['data' => $item]);
76
$imageHelper = $this->imageHelper->init($category, 'product_listing_thumbnail');
77
$item[$fieldName . '_src'] = $imageHelper->getUrl();
78
}
0 commit comments