Skip to content
Snippets Groups Projects
Commit 95844142 authored by Dmytro Voskoboinikov's avatar Dmytro Voskoboinikov
Browse files

Merge branch 'CatalogStaging' of...

Merge branch 'CatalogStaging' of https://github.corp.magento.com/magento-firedrakes/magento2ce into CatalogStaging
parents 6b25b91f e9a88ff6
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