{"data":{"id":"ACP2E-4799","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the 'requisition_lists GraphQL' query returns a 'total_count' value that reflects only the number of items on the current page instead of the total number of requisition lists that match the query criteria.","categories":["GraphQL","B2B"],"components":["magento/module-requisition-list-graph-ql"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-82/acp2e-4799","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-82/acp2e-4799.md","blobSha":"62330ff9e73a30013d8464cc15677f9a5e44a139","description":"When customers query requisition lists with pagination, the total_count field does not reflect the full number of matching requisition lists. Instead, it reports only the number of items returned for the current page, which makes the pagination metadata inaccurate.","stepsToReproduce":"1. In the Admin, go to Stores > Settings > Configuration. 1. In the left panel under General, choose B2B Features. 1. Set Enable Requisition List to Yes and select Save Config. 1. Sign in to the storefront as a customer. 1. Choose My Requisition Lists and create six requisition lists. 1. Ensure that the customer has exactly six requisition lists and that each list name contains ABC, so all six lists match the filtered query. 1. Run the following GraphQL query with pageSize set to two and currentPage set to one: query { customer { requisition_lists( pageSize: 2 currentPage: 1 ) { items { uid name } total_count page_info { current_page page_size total_pages } } } } 1. Run this GraphQL query: query { customer { requisition_lists( filter: { name: { match: \"%ABC%\" } } pageSize: 2 currentPage: 1 ) { items { uid name } total_count page_info { current_page page_size total_pages } } } }","introducedInQpt":"1.1.82","createdFor":["1.5.2-p4"],"documentedRange":"1.5.0 <1.5.3","scheduledFixRelease":"1.5.4"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.5.0 <1.5.3","path":"patches/commerce/ACP2E-4800_B2B-1.5.2-p4.patch","blobSha":"d1e68e60f16073b65689394bce72185ce30290bf","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACP2E-4800_B2B-1.5.2-p4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-requisition-list-graph-ql/Model/RequisitionList/GetRequisitionList.php","change":"modified","package":"magento/module-requisition-list-graph-ql"}],"packages":["magento/module-requisition-list-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-4799 details"}