GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
The product on_hand scope was querying "count_on_hand >= 0" instead of "count_on_hand > 0".
I know 1.0 is getting most of the attention these days but since 0.70 is still the stable branch, and this seems like a significant bug, I thought it would be worth fixing.
Fix on_hand scope including products with 0 avail.
The product on_hand scope was pulling "count_on_hand >= 0" instead of "count_on_hand > 0"
Would you be able to write a test for this as well please?