Skip to content

Catalog sorting not working for boolean attributes #36390

@github-jira-sync-bot

Description

@github-jira-sync-bot

ISSUE:
Sorting with a newly defined product attribute is_featured does not display expected results.

STEPS TO REPLICATE:

  1. create attribute yes/no "is_featured" in store>attribute>product to enable sorting and listing options

  2. assign it to the attribute set Top

  3. Enable attribute on products for SKU MH07 > run indexer:reindex and flush cache

  4. Navigate to the front page Men-> Tops category

  5. Sort by Featured

ACTUAL RESULTS:
The top tagged as featured did not appear first

EXPECTED RESULTS:
SKU MH07 is expected to appear first

 

Metadata

Metadata

Assignees

No one assigned

    Labels

    EvaluatedIssue: 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: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions