-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Specify the table when adding field in massAction filter #17864
Conversation
Hi @adaudenthun. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @adaudenthun , looks like email from commit is different than in your GitHub profile, please, add email from commit to your Github profile and sign CLA, otherwise we can't proceed with your PR. |
Hi @sidolov , Normaly now it's ok , i add this. thanks |
Hi @sidolov, thank you for the review. |
@adaudenthun thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
Hi @adaudenthun , we found an issue with the provided solution, just try to apply mass action on the Catalog -> Products page. We received an exception: |
Hi @adaudenthun , I am closing this PR now due to inactivity. |
Hi!
About the MassAction in admin Grid. When have a custom grid and apply custom \Magento\Sales\Model\ResourceModel\Order\Grid\Collection and override _initSelect for add join group etc ...
So, when we join some tables, we have the error 'ambiguous column name'.
Fixed Issues (if relevant)
Manual testing scenarios
class Collection extends \Magento\Sales\Model\ResourceModel\Order\Grid\Collection { protected function _initSelect() { parent::_initSelect(); $this->getSelect() ->join('XXXXXX') ->group("XXXXX"); return $this; } }
Contribution checklist