You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After update from 2.4.6-p5 to 2.4.7-p2 pagebuilder widget carousel no longer works with position_by_sku.
Preconditions
Magento Version : EE 2.4.7-p2
ElasticSuite Version : 2.11.8.3
Environment : Developer and Production both
Steps to reproduce
Crate a block that contains a carousel widget
Add by sku
Add skus at random in a order that is nether ascending or descending
Set "Sort By" to Position
Expected result
src/module-elasticsuite-virtual-category/Plugin/Widget/ProductsListPlugin.php:143 should get true
Elasticsearch query should contain script to order them this way
Products should be orders as you entered
Actual result
src/module-elasticsuite-virtual-category/Plugin/Widget/ProductsListPlugin.php:143 Is true
No script tag in elasitcsearch request
Products are ordered in descending order
This is the log for the request:
curl -XPOST 'http://elasticsearch:9200/magento2_2_finnish_catalog_product/_search?pretty=true' -d '{"size":0,"query":{"constant_score":{"filter":{"bool":{"must":[{"bool":{"must":[{"bool":{"must":[],"must_not":[],"should":[{"match":{"sku.untouched":{"query":"19843","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"19844","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"19858","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"19884","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"181264","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"194488","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"198599","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"220158","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"224904","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"253491","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"253493","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"304010","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"615925","minimum_should_match":"100%","boost":1}}}],"minimum_should_match":1,"boost":1}}],"must_not":[],"should":[],"boost":1,"_name":"Jos KAIKKI n\u00e4ist\u00e4 olosuhteista on TOTTA:\n SKU (sku) on yksi 19843,19844,19858,19884,181264,194488,198599,220158,224904,253491,253493,304010,615925"}},{"terms":{"visibility":[2,4],"boost":1}},{"terms":{"visibility":[2,4],"boost":1}}],"must_not":[],"should":[],"boost":1}},"boost":1}},"aggregations":{"attribute_set_id":{"terms":{"field":"attribute_set_id","size":10000,"order":{"_count":"desc"}}},"indexed_attributes":{"terms":{"field":"indexed_attributes","size":10000,"order":{"_count":"desc"}}}},"track_total_hits":true}'
The text was updated successfully, but these errors were encountered:
After update from 2.4.6-p5 to 2.4.7-p2 pagebuilder widget carousel no longer works with position_by_sku.
Preconditions
Magento Version : EE 2.4.7-p2
ElasticSuite Version : 2.11.8.3
Environment : Developer and Production both
Steps to reproduce
Expected result
Actual result
This is the log for the request:
curl -XPOST 'http://elasticsearch:9200/magento2_2_finnish_catalog_product/_search?pretty=true' -d '{"size":0,"query":{"constant_score":{"filter":{"bool":{"must":[{"bool":{"must":[{"bool":{"must":[],"must_not":[],"should":[{"match":{"sku.untouched":{"query":"19843","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"19844","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"19858","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"19884","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"181264","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"194488","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"198599","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"220158","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"224904","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"253491","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"253493","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"304010","minimum_should_match":"100%","boost":1}}},{"match":{"sku.untouched":{"query":"615925","minimum_should_match":"100%","boost":1}}}],"minimum_should_match":1,"boost":1}}],"must_not":[],"should":[],"boost":1,"_name":"Jos KAIKKI n\u00e4ist\u00e4 olosuhteista on TOTTA:\n SKU (sku) on yksi 19843,19844,19858,19884,181264,194488,198599,220158,224904,253491,253493,304010,615925"}},{"terms":{"visibility":[2,4],"boost":1}},{"terms":{"visibility":[2,4],"boost":1}}],"must_not":[],"should":[],"boost":1}},"boost":1}},"aggregations":{"attribute_set_id":{"terms":{"field":"attribute_set_id","size":10000,"order":{"_count":"desc"}}},"indexed_attributes":{"terms":{"field":"indexed_attributes","size":10000,"order":{"_count":"desc"}}}},"track_total_hits":true}'
The text was updated successfully, but these errors were encountered: