Skip to content

Search product fails for category filter when categoryId is string #3929

@adityasharma7

Description

@adityasharma7

Current behavior

Note: To generate the issue your backend system should have categoryId as a string
When we use the category filter for search product, the search fails when the categoryId is a string rather than an int value.

Expected behavior

Category filter in search product should work for int as well as a string categoryIds

Steps to reproduce the issue

Steps to regenerate:

  1. Search for any product
  2. Click on on any category tag
    No products in the search result

Repository

Can you handle fixing this bug by yourself?

  • YES
  • NO

Which Release Cycle state this refers to? Info for developer.

Pick one option.

  • This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
  • This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
  • This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

  • Browser:
  • OS:
  • Node:
  • Code Version:

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3: NormalPriority mark - normal prioritybugBug reports

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions