Skip to content

Commit

Permalink
Update BundlePosition.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshityaduvanshi authored Aug 27, 2019
1 parent 3bb57ff commit ad5a735
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Ui/DataProvider/BundlePosition.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ public function __construct(
$this->collection = $collectionFactory->create();
$this->addFieldStrategies = $addFieldStrategies;
$this->addFilterStrategies = $addFilterStrategies;
$this->collection->getSelect()->joinLeft(
["product_varchar" => $this->collection->getTable("catalog_product_entity_varchar")],
'product_varchar.entity_id = main_table.product_id AND product_varchar.attribute_id = 73',
[]
)->columns(['product_name' => 'product_varchar.value']);
}
public function getData()
{
Expand Down Expand Up @@ -74,4 +79,4 @@ public function addFilter(\Magento\Framework\Api\Filter $filter)
}
parent::addFilter($filter);
}
}
}

0 comments on commit ad5a735

Please sign in to comment.