Skip to content

Commit aac4f42

Browse files
committed
MAGETWO-53305: [Staging] When update was applied Cross-Sells data are not displayed in the shopping cart
1 parent ce2af16 commit aac4f42

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Product/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ private function joinProductsToLinks()
444444
if ($this->_hasLinkFilter) {
445445
$linkField = $this->getMetadataPool()->getMetadata(ProductInterface::class)->getLinkField();
446446
$this->getSelect()
447-
->join(['cpe' => 'catalog_product_entity'], "links.product_id = cpe.$linkField", []);
447+
->join(['cpe' => $this->getMainTable()], "links.product_id = cpe.$linkField", []);
448448
}
449449
}
450450
}

0 commit comments

Comments
 (0)