-
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
[Backport] Fixed Issue : Search REST API returns wrong total_count #21801
Conversation
Hi @ronak2ram. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @ronak2ram, There are a couple of errors in unit tests with the current solution.
Could you please check these issues? Thank you! |
Hello @dmytro-ch |
@ronak2ram unfortunately, only members of the maintainers team are allowed to remove progress related labels to the pull request |
@magento-engcom-team give me test instance |
Hi @dmytro-ch. Thank you for your request. I'm working on Magento instance for you |
Hi @dmytro-ch, here is your new Magento instance. |
Hi @dmytro-ch, thank you for the review. |
@ronak2ram please, apply latest fixes from the original PR: #21713 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes from the original PR is needed
Hi @ronak2ram , changeset from the #21713 contains only 2 files, current PR contains 9 files. Please, make changes from the original PR. |
Hi @sidolov |
Hi @ronak2ram , unfortunately, such changes are not acceptable for 2.2 release line due to backward compatibility. Probably you may find a different solution for 2.2 without breaking changes. |
okay @sidolov, we have to close this PR. |
@ronak2ram thank you for collaboration! |
Hi @ronak2ram, thank you for your contribution! |
Original Pull Request
#21713
Description (*)
I added function for getting total_count of result item.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Request :
rest/V1/search?searchCriteria[requestName]=quick_search_container&searchCriteria[filterGroups][0][filters][0][field]=search_term&searchCriteria[filterGroups][0][filters][0][conditionType]=like&searchCriteria[filterGroups][0][filters][0][value]=test&searchCriteria[current_page]=1&searchCriteria[page_size]=2
Response :
Contribution checklist (*)