Skip to content

Commit 6a2acea

Browse files
ENGCOM-6065: Fixed: Method chaining broken Module_Catalog Product Collection #24973
- Merge Pull Request #24973 from maheshWebkul721/magento2:fixed-24964 - Merged commits: 1. 00401b9
2 parents c60cf10 + 00401b9 commit 6a2acea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,6 +1595,8 @@ public function addAttributeToFilter($attribute, $condition = null, $joinType =
15951595
} else {
15961596
return parent::addAttributeToFilter($attribute, $condition, $joinType);
15971597
}
1598+
1599+
return $this;
15981600
}
15991601

16001602
/**

0 commit comments

Comments
 (0)