{"data":{"id":"MDVA-37592","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue when sorting by price doesn't work correctly for products with a zero price assigned to shared catalog.","categories":["Catalog/Product"],"components":["magento/module-catalog","magento/module-elasticsearch"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-0/mdva-37592-sorting-by-price-does-not-work-correctly","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-0/mdva-37592-sorting-by-price-does-not-work-correctly.md","blobSha":"58157c84746f14c9ef8f5892a3561b5a6a3e50b0","description":"Sorting by price does not work correctly for products with price zero assigned to a shared catalog.","stepsToReproduce":"1. Enable shared catalog. 1. Create four products with the following prices and assign them to a category - $50, $60, $70, and $80. 1. Create a shared catalog with the above products. 1. Set the custom price to zero for the product with a price of $70. 1. Now create a company user and assign it to the shared catalog just created. 1. Log in using the company account and browse to the category where the products are assigned to. 1. Try to sort by price.","introducedInQpt":"1.1.0","createdFor":["2.4.0-p1"],"documentedRange":"2.3.6-2.4.2-p1","scheduledFixRelease":"2.4.4"},"files":[{"package":"magento/magento2-base","constraint":">=2.3.6 <2.4.4","path":"patches/os/MDVA-37592_2.4.0-p1.patch","blobSha":"ed672b7fc38972fac340b84935356d7026eccdc8","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-37592_2.4.0-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php","change":"modified","package":"magento/module-catalog"},{"path":"vendor/magento/module-catalog/Model/ResourceModel/Product/Indexer/Price/Query/BaseFinalPrice.php","change":"modified","package":"magento/module-catalog"},{"path":"vendor/magento/module-elasticsearch/Model/ResourceModel/Fulltext/Collection/SearchResultApplier.php","change":"modified","package":"magento/module-elasticsearch"}],"packages":["magento/module-catalog","magento/module-elasticsearch"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-37592 details"}