Magento Custom report module remove blank records [closed]
-
22-10-2019 - |
Question
I have created custom report module using below link
http://magentotutorial.org/how-to-create-magento-custom-reports/
It is working but whenever filter by date it show some empty rows and some result rows but, I want to remove empty rows.
Solution
Not 100% sure what you mean by empty rows, if it is simply one field that is empty then you have two options.
- Validate these before saving so that they are not in the database,
- Update the collection to filter out the empty rows in the admin section,
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange