[Backport] Fixed Issue : Search REST API returns wrong total_count#21801
[Backport] Fixed Issue : Search REST API returns wrong total_count#21801ronak2ram wants to merge 3 commits intomagento:2.2-developfrom ronak2ram:back-port-pull-21713
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 |
sidolov
left a comment
There was a problem hiding this comment.
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]=2Response :
Contribution checklist (*)