File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
app/code/Magento/Catalog/Ui/DataProvider/Product Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function __construct(
68
68
$ this ->addFieldStrategies = $ addFieldStrategies ;
69
69
$ this ->addFilterStrategies = $ addFilterStrategies ;
70
70
$ this ->modifiersPool = $ modifiersPool ?: ObjectManager::getInstance ()->get (PoolInterface::class);
71
- $ this ->setDefaultStoreToCollection ( );
71
+ $ this ->getCollection ()-> setStoreId (Store:: DEFAULT_STORE_ID );
72
72
}
73
73
74
74
/**
@@ -142,12 +142,4 @@ public function getMeta()
142
142
143
143
return $ meta ;
144
144
}
145
-
146
- /**
147
- * Filter the product collection by Default Store if no filter is applied
148
- */
149
- private function setDefaultStoreToCollection ()
150
- {
151
- $ this ->getCollection ()->setStoreId (Store::DEFAULT_STORE_ID );
152
- }
153
145
}
You can’t perform that action at this time.
0 commit comments