Skip to content

Commit 9c1ad4e

Browse files
committed
MC-42791: [Magento Cloud] Products not showing in catagories
1 parent bf4cdad commit 9c1ad4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function getSearchableProducts(
201201
$lastProductId = 0,
202202
$batch = 100
203203
) {
204-
204+
$batch = 10;
205205
$select = $this->getSelectForSearchableProducts($storeId, $staticFields, $productIds, $lastProductId, $batch);
206206
if ($productIds === null) {
207207
$select->where(
@@ -230,7 +230,7 @@ public function getSearchableProducts(
230230
* @param int $batch
231231
* @return Select
232232
*/
233-
private function getSelectForSearchableProducts(
233+
public function getSelectForSearchableProducts(
234234
$storeId,
235235
array $staticFields,
236236
$productIds,

0 commit comments

Comments
 (0)