Skip to content

Magento product search in admin product grid not working correctly. No OR functionality #38587

Open
@cptX

Description

@cptX

Preconditions and environment

  • Magento version
    2.4.5 and 2.4.6
  • Anything else that would help a developer reproduce the bug
    In admin product list let's try the following:
    Let's say we have a product called "Erika Running Short".
    If we search with full name the product appears in the results.
    If we search for "Erika Running" the product appears.
    But if we search for "Erika Short" no product appears.

In my everyday administering I search for product names or titles and I cannot remember all the words in between. So I need to put 2 words included in the title and expecting to get the corresponding products. Now I get 0 products in the product list search results when I don't put all words in between the wanted keywords.

Steps to reproduce

  1. Open a magento instance (2.4.5 or 2.4.6) which has some products.
    Let's say it has the default sample products magento 2.4.5 and 2.4.6 have.

  2. Go to Catalog > Products

  3. Search for "Erika Running Short". There will be several results

  4. Search for "Erika Short". There will be no result!

Expected result

When searching for "Erika Short" I want the system to return all the products that include these 2 words in their title independently of the position these 2 words are placed in the products titles.
For example If a product has the title "Erika Running Short", it should appear when searching for "Erika Short"

Actual result

Now when searching for "Erika Short" no products appear, although there are many products available with the title "Erika Running Short"

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area: AccountComponent: SearchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressReported on 2.4.6Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions