Skip to content

Layered Navigation: “Equalize product count” not working as expected #21960

@trinitecDev

Description

@trinitecDev

Preconditions (*)

2.2.7

Steps to reproduce (*)

Create a custom attribute of type price.
Got to Stores > Configuration > Catalog > Layered Navigation and set “price navigation step calculation” to “Automatic (equalize product counts)”
grafik

Expected result (*)

I would expect ten ranges with equalized product counts (as the name suggests).

Actual result (*)

Result is not equal ranges but one in the end with half of the products in it:
grafik
Whats also weird is the last to -0.01 value, since the lowest value is 250 and the highest 6000 (i checked that in the catalog_product_entity_decimal table).

Metadata

Metadata

Assignees

Labels

Component: CatalogFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasegood first issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions