Skip to content

Commit 43f8d2a

Browse files
committed
MC-20139: Wishlist Items of customers not displaying on admin for secondary store
1 parent 86812b9 commit 43f8d2a

File tree

1 file changed

+1
-9
lines changed
  • app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection

1 file changed

+1
-9
lines changed

app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection/Grid.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
*/
1818
class Grid extends \Magento\Wishlist\Model\ResourceModel\Item\Collection
1919
{
20-
/**
21-
* Load product attributes to present in grid
22-
*/
23-
private const PRODUCT_ATTRIBUTES_TO_GRID = [
24-
'name',
25-
'price',
26-
];
27-
2820
/**
2921
* @var \Magento\Framework\Registry
3022
*/
@@ -120,7 +112,7 @@ protected function _assignProducts()
120112
{
121113
/** @var ProductCollection $productCollection */
122114
$productCollection = $this->_productCollectionFactory->create()
123-
->addAttributeToSelect(self::PRODUCT_ATTRIBUTES_TO_GRID)
115+
->addAttributeToSelect($this->_wishlistConfig->getProductAttributes())
124116
->addIdFilter($this->_productIds);
125117

126118
/** @var Item $item */

0 commit comments

Comments
 (0)