Skip to content

Commit 825fa30

Browse files
author
shikhamis11
committed
fixed store wise product filter issue
Fixed issue - #18374 Unable to get product attribute value for store-view scope type in product collection loaded for a specific store.
1 parent 807ee7d commit 825fa30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public function addAttributeToFilter($attribute, $condition = null, $joinType =
399399
*/
400400
public function addFieldToFilter($attribute, $condition = null)
401401
{
402-
return $this->addAttributeToFilter($attribute, $condition);
402+
return $this->addAttributeToFilter($attribute, $condition,'left');
403403
}
404404

405405
/**

0 commit comments

Comments
 (0)