Skip to content

Commit c47409f

Browse files
committed
MAGE-1357: Re-add missing boolean
1 parent d0dcd9e commit c47409f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Service/Product/IndexBuilder.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ public function buildIndex(int $storeId, ?array $entityIds, ?array $options): vo
101101
$collection,
102102
$options['page'] ?? 1,
103103
$options['pageSize'] ?? $this->configHelper->getNumberOfElementByPage($storeId),
104-
$entityIds
104+
$entityIds,
105+
$options['useTmpIndex']
105106
);
106107

107108
$this->stopEmulation();
@@ -144,6 +145,7 @@ public function deleteInactiveProducts($storeId): void
144145
* @param int $page
145146
* @param int $pageSize
146147
* @param array|null $productIds - pre-batched product ids - if specified no paging will be applied
148+
* @param bool|null $useTmpIndex
147149
* @return void
148150
* @throws AlgoliaException
149151
* @throws DiagnosticsException
@@ -154,7 +156,8 @@ protected function buildIndexPage(
154156
Collection $collection,
155157
int $page,
156158
int $pageSize,
157-
?array $productIds = null
159+
?array $productIds = null,
160+
?bool $useTmpIndex = false
158161
): void
159162
{
160163
if ($this->isIndexingEnabled($storeId) === false) {

0 commit comments

Comments
 (0)