We sacrifice by not doing any other technology, so that you get the best of Magento.

We sacrifice by not doing any other technology, so that you get the best of Magento.

    – 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 :

    protected function _initSelect()
    {
        $this->addFilterToMap('xyz', 'main_table.xyz');
    
        parent::_initSelect();
    }

     

    Please let us know if this article is helpful to you.

    Thanks!

    Fill the below form if you need any Magento relate help/advise/consulting.

    With Only Agency that provides a 24/7 emergency support.

      Get a Free Quote