I'm developing a module for Magento 2, but when trying to create a GRID, my filters are not working.
I have some settings in other class and load it to the collection, using it inside the
When I try to use the values from my other class the filters do not work, but if I set them manually in the
_initSelect function, they work.
Here is an example:
If I to a
echo $this->getSelect()->assemble; the result is exactly the same both ways.
Anyone ever dealt with the problem before? If anyone is interested, here is the link to the module github: https://github.com/moloni/magento2/blob/devel/Model/ResourceModel/Orders/Collection.php