Skip to content

Commit 0d44ee8

Browse files
author
Mohan Ahuja
committed
ACP2E-726: Unable to query bulk operations by search criteria using REST Api
- Fixing build failure
1 parent 13e6762 commit 0d44ee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/AsynchronousOperations/Plugin/CollectionUpdater.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class CollectionUpdater
2626
public function afterGetData(AbstractDb $subject, ?array $result)
2727
{
2828
if (is_array($result) && !empty($result) &&
29-
$subject->getResource()->getTable('magento_bulk') == "magento_bulk" &&
30-
isset($result[0][OperationInterface::ID])
29+
isset($result[0][OperationInterface::ID]) &&
30+
$subject->getResource()->getTable('magento_bulk') == "magento_bulk"
3131
) {
3232
foreach ($result as $key => $row) {
3333
$result[$key][OperationInterface::ID] = $row['id'];

0 commit comments

Comments
 (0)