-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have some respect for zeroooos! :D #2437
Comments
Hello @sheepfy, We will look into this as we have other requests that are related to a similar issue. BR, |
to avoid boolean attributes facet coverage changing dramatically. Also includes the ability to use admin sort to always display the "Yes" value before the "No" in the layered navigation filter.
to avoid boolean attributes facet coverage changing dramatically. Also includes the ability to use admin sort to always display the "Yes" value before the "No" in the layered navigation filter.
to avoid boolean attributes facet coverage changing dramatically. Also includes the ability to use admin sort to always display the "Yes" value before the "No" in the layered navigation filter.
to avoid boolean attributes facet coverage changing dramatically. Also includes the ability to use admin sort to always display the "Yes" value before the "No" in the layered navigation filter.
…ndexed_2.8.x Feature #2437 Allow indexing 0 and false values (2.8.x)
to avoid boolean attributes facet coverage changing dramatically. Also includes the ability to use admin sort to always display the "Yes" value before the "No" in the layered navigation filter.
to avoid boolean attributes facet coverage changing dramatically. Also includes the ability to use admin sort to always display the "Yes" value before the "No" in the layered navigation filter.
to avoid boolean attributes facet coverage changing dramatically. Also includes the ability to use admin sort to always display the "Yes" value before the "No" in the layered navigation filter.
Hello @sheepfy, This has been adressed by #2482 (#2437) A new per-attribute setting "Include zero or false values" is available to enable indexing and filtering (if set to Yes) on
For a boolean attribute, if set to Yes and the facet sort order is set to Admin Sort, both Yes and No values will be shown, with Yes in first position : Regards, |
I have a decimal attribute, classic, normal one, people can edit it from admin, setting any numeric value on it.
Create a product, and set value of 0.0000 on that attribute. Or update catalog_product_entity_decimal tabel and set 0.0000 value for a product on that attribute.
After fulltext indexer is reindexed, you should notice that the attribute value is not present in elasticsearch.
In my case, attribute_code = weight_factor
select * from catalog_product_entity_decimal where attribute_id = 309 and entity_id = 225405;
vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Helper/AbstractAttribute.php
$value = array_filter($value); <- this line doesn't like the zeros
PS:
full es json response:
full es request body:
The text was updated successfully, but these errors were encountered: