Skip to content

Layer navigation showing wrong product count  #11946

Closed
@sunilit42

Description

@sunilit42

Preconditions

Magento version 2.1.9
Enable out of stock display yes from backend

Getting errors -
Layer navigation count wrong due to Magento count only in-stock product.
https://github.com/magento/magento2/blob/2.1.9/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Aggregation/DataProvider.php#L115

Actual result:
count calculation based on backend stock setting.

Metadata

Metadata

Assignees

Labels

Fixed 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 not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced 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 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions