We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 10f900e + 9e657ad commit aa52e1fCopy full SHA for aa52e1f
app/code/Magento/Catalog/Ui/DataProvider/Product/ProductDataProvider.php
@@ -7,6 +7,7 @@
7
8
use Magento\Catalog\Model\ResourceModel\Product\CollectionFactory;
9
use Magento\Framework\App\ObjectManager;
10
+use Magento\Store\Model\Store;
11
use Magento\Ui\DataProvider\Modifier\ModifierInterface;
12
use Magento\Ui\DataProvider\Modifier\PoolInterface;
13
@@ -67,6 +68,7 @@ public function __construct(
67
68
$this->addFieldStrategies = $addFieldStrategies;
69
$this->addFilterStrategies = $addFilterStrategies;
70
$this->modifiersPool = $modifiersPool ?: ObjectManager::getInstance()->get(PoolInterface::class);
71
+ $this->getCollection()->setStoreId(Store::DEFAULT_STORE_ID);
72
}
73
74
/**
0 commit comments