monsieurbiz / SyliusSearchPlugin

A search plugin using Elasticsearch for Sylius
MIT License
45 stars 38 forks source link

How to enable automatic filters? #216

Open seizan8 opened 1 month ago

seizan8 commented 1 month ago

Versions PHP: v8.0 Sylius: v1.10 MonsieurBIz: v2.1.10

Description Hi y'all

I just updated the plugin from RC9 to v2.1. And before we had the filters being applied automatically. However, the "apply_manually" has been removed in the config. In the Seach/_filters.html.twig template of the bundle there is a comment line with if gridConfig.haveToApplyManuallyFilters(). I tried to use and realized we do not have a GridConfig object in this context. I couldn't find anything about this option the readme.

Also, it seems there is no option for this in the SettingsPlugin either. How can I enable the automatic filters again?

Thanks in advance