0.70 fix for on_hand scope including products with 0 on hand #1082

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

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"
Member

radar commented Feb 7, 2012

Would you be able to write a test for this as well please?

@radar radar closed this May 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment