-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
GraphQL price range numeric values #28628
Comments
Hi @nrkapoor. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
|
Hi @gallyamov. Thank you for working on this issue.
|
- Removed wildcard usage for price filters
- Fixed price range wildcard values and associated test cases
In order to support a price range slider, price intervals returned in a product aggregation should be numeric only (no wildcards).
Current price aggregation response:
{
"options": [
{
"count": 1,
"label": "60-70",
"value": "60_70"
},
{
"count": 2,
"label": "90-",
"value": "90_"
}
],
"attribute_code": "price",
"count": 5,
"label": "Price"
}
Expected price aggregation response:
{
"options": [
{
"count": 1,
"label": "60-70",
"value": "60_70"
},
{
"count": 2,
"label": "90-110",
"value": "90_110"
}
],
"attribute_code": "price",
"count": 5,
"label": "Price"
}
The text was updated successfully, but these errors were encountered: