-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: CatalogIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report
Description
Preconditions
- Community Version 2.1.2
- PHP 7.0.10
- Some products already in Magento with products with quantity 0 and products without
Steps to reproduce
- Go to Magento admin
- Go to Products > Catalog
- Select Filters
- Enter in Quantity from 0 to 0
- Press apply filters
Expected result
- I would expect to see all products with quantity of 0 to be displayed
Actual result
- All products are displayed
Comment
I have traced the problem back to the following class:
\Magento\Ui\Component\Filters\Type\Range
and the method:
applyFilterByType
I'm not sure why the condition in it is how it is, and thats why I didn't want to just do a PR fixing this.
Metadata
Metadata
Assignees
Labels
Component: CatalogIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report