Skip to content

Commit

Permalink
Merge pull request #313 from SnowdogApps/feature/104586
Browse files Browse the repository at this point in the history
Feature/104586 - Added fixes in the function fetchTitleData().
  • Loading branch information
maartynaa authored Feb 6, 2024
2 parents d958508 + 096a993 commit bf0dd2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.


## [Unreleased]
### Fixed
- The function getProductTitle() returns empty string (DEV-104749)

## [2.25.0] - 2024-01-19
### Added
Expand Down
2 changes: 1 addition & 1 deletion Model/ResourceModel/NodeType/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function fetchConfigData()
public function fetchTitleData($storeId = Store::DEFAULT_STORE_ID, $productIds = [])
{
$collection = $this->productCollection->create();
$collection->addAttributeToSelect(['name', 'left'])
$collection->addAttributeToSelect('name', 'left')
->addFieldToFilter('entity_id', ['in' => $productIds])
->addStoreFilter($storeId);

Expand Down

0 comments on commit bf0dd2f

Please sign in to comment.