Skip to content

Commit

Permalink
fixed store wise product filter issue
Browse files Browse the repository at this point in the history
Fixed issue - #18374
Unable to get product attribute value for store-view scope type in product collection loaded for a specific store.
  • Loading branch information
shikhamis11 authored Nov 1, 2018
1 parent da1a96c commit 58514a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ public function addAttributeToFilter($attribute, $condition = null, $joinType =
*/
public function addFieldToFilter($attribute, $condition = null)
{
return $this->addAttributeToFilter($attribute, $condition);
return $this->addAttributeToFilter($attribute, $condition,'left');
}

/**
Expand Down

0 comments on commit 58514a0

Please sign in to comment.