odiseoteam / SyliusReportPlugin

Report Plugin for Sylius. This plugin add a report interface to the Sylius administration. Some reports comes with this bundle but you can create your custom reports.
MIT License
31 stars 10 forks source link

Filter by category does not work for “Sales Total” reports. #17

Closed odiseoteam closed 2 years ago

odiseoteam commented 2 years ago

According to the source code it needs a parent category named “category” which doesn’t fit our setup. I’m able to select all categories if I change findChildren(‘category’) to findRootNodes() in the QueryFilterFormBuilder. 
But even then it’s not optimal, as we have categories with the same name under different nodes. We need to see the tree here (maybe output the full path of a category like “Top level / level 1 / level 2” instead of just “level 2”).