The ACSD-51497 patch fixes the issue where a customer cannot sort a catalog page by a custom attribute of the type Dropdown. This patch is available when the Quality Patches Tool (QPT) 1.1.33 is installed. The patch ID is ACSD-51497. Please note that the issue was fixed in Adobe Commerce 2.4.7.
The patch is created for Adobe Commerce version:
Compatible with Adobe Commerce versions:
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the
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.
A customer is unable to sort a catalog page by a custom attribute of the type Dropdown.
Steps to reproduce
Create about six simple products and assign them to a single category.
Create a product attribute in order to add it as a sorting option on the listing pages.
Go to Admin > Stores > Attributes > Add New Attribute.
In the Properties tab, set the following:
Default Label = test
Catalog Input Type for Store Owner = Dropdown
In the Storefront Properties tab, set the following:
Assign the test attribute to the Default attribute set in Admin > Stores > Attributes > Attribute Set.
Configure the products to have test attribute values.
Reindex and clear cache.
Go to the category on the storefront.
Sort by the test attribute.
The products are sorted by the test attribute.
The products are not sorted by the test attribute.
To apply individual patches, use the following links depending on your deployment method:
To learn more about Quality Patches Tool, refer to:
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.