Skip to content

Commit 61d1565

Browse files
author
mastiuhin-olexandr
committed
MC-35416: It is not possible to Manage Shopping Cart from Customer edit page after adding product to Wish List
1 parent 5b93a76 commit 61d1565

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,11 @@ protected function _renderFiltersBefore()
398398
$availableProductTypes = $this->salesConfig->getAvailableProductTypes();
399399
$this->getSelect()->join(
400400
['cat_prod' => $this->getTable('catalog_product_entity')],
401-
$this->getConnection()->quoteInto('cat_prod.type_id IN (?) AND main_table.product_id = cat_prod.entity_id', $availableProductTypes),
401+
$this->getConnection()
402+
->quoteInto(
403+
'cat_prod.type_id IN (?) AND main_table.product_id = cat_prod.entity_id',
404+
$availableProductTypes
405+
),
402406
[]
403407
);
404408
}

0 commit comments

Comments
 (0)