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
REST API not same behaviour of searchCriteria[currentPage] in different endpoints #25619
Comments
Hi @gregordonsky. 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. @gregordonsky do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Charlie. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Charlie Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi @chirag-d-wagento. Thank you for working on this issue.
|
I'm working on it #mm20in |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Thank you for your contributions. |
Preconditions (*)
Magento Version 2.3.3 & 2.3-develop
PHP version 7.3
Apache 2.4
Magento Default Theme
Steps to reproduce (*)
/V1/products/searchCriteria[currentPage]=0&searchCriteria[pageSize]=20
/V1/products/searchCriteria[currentPage]=1&searchCriteria[pageSize]=20
/V1/search/?searchCriteria[requestName]=quick_search_container&searchCriteria[filter_groups][0][filters][0][field]=search_term&searchCriteria[filter_groups][0][filters][0][value]=sample&searchCriteria[page_size]=20&searchCriteria[current_page]=0
/V1/search/?searchCriteria[requestName]=quick_search_container&searchCriteria[filter_groups][0][filters][0][field]=search_term&searchCriteria[filter_groups][0][filters][0][value]=sample&searchCriteria[page_size]=20&searchCriteria[current_page]=1
Expected result (*)
The parameter
searchCriteria[current_page]
should start from the same index, so the result with the parameterssearchCriteria[current_page]=0
orsearchCriteria[current_page]=1
should be the same for every call to each endpoints of the API.Actual result (*)
The text was updated successfully, but these errors were encountered: