-
Notifications
You must be signed in to change notification settings - Fork 9.4k
PLP - Total count is not working when it exceeds 10,000 #37556
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
Comments
Hi @santhiya-nits. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @santhiya-nits, Thanks for the report and collaboration! We have tried to reproduce the issue in the 2.4-develop branch but the issue is not reproducible for us. It might be possible the issue got resolved. We request you to please try to reproduce it in 2.4-develop and if the issue is reproducible for you then please let us know the proper steps to reproduce the issue. Thanks |
Hi, Step 1: I tried to call the function getTotalNum() from the vendor/magento/module-catalog/Block/Product/ProductList/Toolbar.php. It does not return more than 10,000 records. |
This might help: |
Hello @santhiya-nits, Thanks for the reply! @MTheProgrammer Thanks for that reference! But it seems this is the expected behavior of Magento in order to maintain the performance of e-commerce. You can also customize the same from the below file:
Also please go through with the comment below: Thanks |
Hello @santhiya-nits, Have you got a chance to check this comment #37556 (comment)? Thanks |
Hello @santhiya-nits, We have noticed that this issue has not been updated. Hence we assume that this issue is fixed now, so we are closing it. Please raise a fresh ticket or reopen this ticket if you need more assistance on this. Regards |
Hi, Based on the comment #8477. File Name: vendor/magento/module-catalog-search/etc/search_request.xml |
Preconditions and environment
Magento version - 2.4.5-P1
Path Name: vendor/magento/module-catalog/Block/Product/ProductList/Toolbar.php
Function Name: getTotalNum()
The getTotalNum() function does not fetch more than 10,000 data.
Steps to reproduce
Magento version - 2.4.5-P1
Path Name: vendor/magento/module-catalog/Block/Product/ProductList/Toolbar.php
Function Name: getTotalNum()
The getTotalNum() function does not fetch more than 10,000 data.
Expected result
Fetch the data more than 10,000
Actual result
If the database contains more than 10,000 records.
It fetches only 10,000 items not more than that.
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: