-
Notifications
You must be signed in to change notification settings - Fork 9.4k
#11936:required attribute set id filter on attribute group repository getList #12105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asked @maghamed for his approval because of discussions in the issue. Otherwise, changes are fine for me.
@@ -117,16 +117,6 @@ public function save(\Magento\Eav\Api\Data\AttributeGroupInterface $group) | |||
*/ | |||
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) | |||
{ | |||
$attributeSetId = $this->retrieveAttributeSetIdFromSearchCriteria($searchCriteria); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maghamed Since you requested the attribute set to be optional in #11936 (comment): are you fine with it being removed completely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tzyganu Please can you do the change requested by @maghamed in https://github.com/magento/magento2/pull/12105/files#r155220528? Thanks!
@tzyganu Thanks for the change, don't worry! |
…roup repository getList #12105
@tzyganu Many thanks for your contribution. It has been merged. Happy holidays! 🎄 |
Description
This PR removes the need for an attribute_set_id filter in the method
Magento\Eav\Model\Attribute\GroupRepository::getList
Fixed Issues (if relevant)
Manual testing scenarios
Contribution checklist