MDVA-28357 SKU search in Advanced Search page doesn’t work

The MDVA-28357 solves the issue where search by a product SKU in the Advanced Search page does not lead to the relevant product displaying in search results. This patch is available when the Quality Patches Tool (QPT) v.1.0.8 is installed. Please note that the issue is fixed in Adobe Commerce version 2.4.1.

Affected products and versions

  • This patch was designed for Adobe Commerce on-premises 2.3.4-p2.
  • The patch is also compatible with Adobe Commerce on-premises and Adobe Commerce on cloud infrastructure 2.3.0 to 2.3.5-p2, and 2.4.0 to 2.4.0-p1.
NOTE
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.

Issue

In advanced search, searching using a SKU queries the SKU field using a wildcard. But a wildcard can only be used with sku.keyword, so this does not return the expected product.

Steps to reproduce

  1. Go to Advanced Search page.
  2. Search by a SKU number.

Actual result

Error message displays: We can’t find any items matching these search criteria. Modify your search.

Expected result

One product item displays with a message: 1 item were found using the following search criteria SKU: XX-XXXX

Apply the patch

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 tool, refer to the Patches available in QPT tool section.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a