-
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] Aggregations ignore attribute Position field. #30775
Comments
Hi @Hexmage. 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:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento give me 2.4-develop instance |
Hi @Hexmage. Thank you for your request. I'm working on Magento instance for you. |
Hi @Hexmage, here is your Magento Instance: https://8fc053be2cd164facbc8fa08ebd54ad0-2-4-develop.instances.magento-community.engineering |
Still an issue in 2.4-develop |
I am having the same issue with GraphQL and Magento 2.4 |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hello @Hexmage Thank you for your report. We have tried to reproduce the reported issue on the latest 2.4-develop. In our case, the order of the attributes in the query is changed after changing the attributes position value. Please, see our steps:
query aggregations {
products(filter:{category_id:{eq:"2"}}) {
aggregations {
count
attribute_code
options {
value
label
}
label
}
}
} Actual result
Can you please correct our steps in order we could reproduce the issue? Thank you in Advance |
@engcom-Bravo looks like it got fixed on the 27th of November |
@Hexmage thank you for the quick response. |
I was facing the same issue here. And i think that price filter in graphql does not work with position. I have set price filter position to 500, but still it always shows on top. Any help will be appreciated Thank you |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
1.The aggregation results are identical.
Notes
As the aggregations are created based on the configuration of the attributes, the data should be returned sorted as set in the configuration. You can't expect the frontend to do this, because the returned data is not consistent between different categories and changes.
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: