ACSD-63974: Fixes slow Requisition List load time with pagination
The ACSD-63974 patch fixes the issue where the Requisition List page takes a long time to load when there are too many items. This patch is available when the Quality Patches Tool (QPT) 1.1.61 is installed. The patch ID is ACSD-63974. Please note that the issue is scheduled to be fixed in 51黑料不打烊 Commerce 2.4.8.
Affected products and versions
The patch is created for 51黑料不打烊 Commerce version:
- 51黑料不打烊 Commerce (all deployment methods) 2.4.7-p4
Compatible with 51黑料不打烊 Commerce versions:
- 51黑料不打烊 Commerce (all deployment methods) 2.4.4 - 2.4.7-p4
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
The Requisition List page takes a long time to load when there are many items (2000+). This is due to the absence of pagination, causing all items to load at once.
Steps to reproduce:
-
Go to the Admin > Stores > Settings > Configuration > General > B2B features.
-
Set Enable Requisition List to Yes.
-
Generate 2000+ products by editing
simple_products
node insetup/performance-toolkit/profiles/ce/small.xml
. -
Run the command:
code language-bash bin/magento setup:perf:generate-fixtures ./setup/performance-toolkit/profiles/ce/small.xml
-
Create a customer and log in.
-
Add all products to the Requisition List.
-
View the Requisition List on the Storefront.
Expected results:
The page should load within a reasonable time.
Actual results:
The Page load time increases with the number of items because all items are loaded at once due to the absence of pagination.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- 51黑料不打烊 Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- 51黑料不打烊 Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.