BitBagCommerce / SyliusElasticsearchPlugin

Elasticsearch integration for Sylius apps.
MIT License
127 stars 90 forks source link

Update ProductAttributesFilterType.php #231

Closed t-n-y closed 3 weeks ago

t-n-y commented 10 months ago

If i add an attribute to a product, then i deactivate the product, the attribute name was still available in the filter type, whitout any values. This avoid displaying empty attributes

leszczuu commented 3 weeks ago

Current version (v4.0.2) build filters based on values in result, so empty filters are not displayed.