Let’s initiate a discussion!!
– The Filter issues persist when your collections come up with multiple tables by join queries.
Please check the following changes in the collections file as below:
– You can force the table alias using this addFilterToMap() Method.
– Apply this addFilterToMap() method in your _initSelect() Method of your main collection class.
Add the following code to Your collection class :
1 2 3 4 5 6 |
protected function _initSelect() { $this->addFilterToMap('xyz', 'main_table.xyz'); parent::_initSelect(); } |
Please let us know if this article is helpful to you.
Thanks!
[crayon-6421730041ef3694610671/] Using above fucntion Images can be imported directly from...
Override view block using di.xml and add the below code...
You can check a list of called layout XML for...
Follow the below steps to install and set up PWA...
If you want to remove all leading zero's from order,...
Let our Magento expert connect to discuss your requirement.
We offer Magento
certified developers.
Our Magento clientele
is 500+.
We sign NDA for the
security of your projects.
We’ve performed 100+
Magento migration projects.
Free quotation
on your project.
Three months warranty on
code developed by us.