{"data":{"id":"ACSD-56790","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where a user is redirected to the Admin Dashboard when sorting category products using the \"Move out of Stock to bottom\" option and the `Invalid security or form key. Please refresh the page` error appears on top of the screen.","categories":["Inventory"],"components":["magento/module-inventory-visual-merchandiser"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-44/acsd-56790-move-out-of-stock-to-bottom-option-does-not-work","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-44/acsd-56790-move-out-of-stock-to-bottom-option-does-not-work.md","blobSha":"cf40bc627795ce3f40be505d486d134030cd20f4","description":"The move out of stock to bottom option does not work while sorting products in the Visual Merchandiser","stepsToReproduce":"1. Install Adobe Commerce. 1. Go to Admin > Stores > Attributes > Product and create the following attributes. 1. Create a new website: Non-main. 1. Create a Non-main Store on this new website. 1. Create two stores: * First in the Main website Store. * Second in the Non-main Store. 1. Create two sources: * Letters. * Numbers. 1. Create two stocks: * First Main - sales channels: Main Website - assigned sources: Letters. * Second Non-main - sales channels: Non-main - assigned sources: Numbers. 1. Create three simple products on both websites, all in the Default category, all assigned to both sources: * ProductA - Qty 10 in Letters, Qty 0 in Numbers. * Product1 - Qty 0 in Letters, Qty 10 in Numbers. * ProductA1 - Qty 10 in Letters, Qty 10 in Numbers. 1. Go to Catalog > Categories and select Default category. 1. Change the scope to First. 1. Expand the Products in the Category section. 1. Pick the sort order as: move out of stock to bottom","introducedInQpt":"1.1.44","createdFor":["2.4.6-p1"],"documentedRange":"2.4.6 - 2.4.6-p3","scheduledFixRelease":"2.4.7"},"files":[{"package":"magento/inventory-metapackage","constraint":">=1.2.6 <1.2.7","path":"patches/os/ACSD-56790_1.2.6-p1.patch","blobSha":"a6ca6f57c61306d68fc29d2b66b8546fab713104","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-56790_1.2.6-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-visual-merchandiser/Plugin/Model/Sorting/OutStockBottomSortingPlugin.php","change":"modified","package":"magento/module-inventory-visual-merchandiser"}],"packages":["magento/module-inventory-visual-merchandiser"],"hasTests":false,"applicableVersions":{"magento-community":["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","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"magento-commerce":["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","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"mage-os":[]},"unknownVersions":["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","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["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","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"magento-commerce":["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","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/support_report.log","match":"*You cannot define a correlation name 'inventory_stock' more than once *"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-56790 details"}