Skip to content
Snippets Groups Projects
Commit 9253669e authored by Vladyslav Shcherbyna's avatar Vladyslav Shcherbyna
Browse files

MAGETWO-47398: Fix L2

parent 17f2c610
Branches
No related merge requests found
......@@ -120,10 +120,11 @@ class Selection extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
true
)->from(
$this->getMainTable(),
'parent_product_id'
''
)->join(
['e' => $this->metadataPool->getMetadata(ProductInterface::class)->getEntityTable()],
'e.' . $metadata->getLinkField() . ' = ' . $this->getMainTable() . '.parent_product_id'
'e.' . $metadata->getLinkField() . ' = ' . $this->getMainTable() . '.parent_product_id',
['e.entity_id as parent_product_id']
)->where(
'e.entity_id IN(?)',
$childId
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment