SyliusElasticsearchPlugin icon indicating copy to clipboard operation
SyliusElasticsearchPlugin copied to clipboard

Prevent checkbox facets from breaking the search/filtering

Open mvriel opened this issue 5 years ago • 0 comments

When you have a checkbox value in the list of facets, the filtering no longer works because this class converts true and false to a numerical value. But the numerical value does not match elasticsearch's expectation. With this addition to the mapper, this will now work as expected; though the label still shows an ugly label ;)

This will fix https://github.com/BitBagCommerce/SyliusElasticsearchPlugin/issues/113

mvriel avatar May 28 '20 11:05 mvriel