| Issue 139: | items marked as discontinued show up on all tags | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. create a product, add a tag to it
2. set it as discontinued
3. check all various tags
What is the expected output? What do you see instead?
it appears in all the tags--not just its own
it should be displayed only on the tags associated with [from the top menu]
This seems to fix it
app/models/product.rb, top
[added parentheses]
CONDITIONS_AVAILABLE = %Q/
(CURRENT_DATE() >= DATE(items.date_available)
AND items.is_discontinued = 0
OR (items.is_discontinued = 1 AND (items.quantity > 0 OR
items.variation_quantity > 0)))
/
Thanks!
Jan 24, 2009
Project Member
#1
subim...@gmail.com
Status:
Fixed
May 20, 2009
I got the latest source from the SVN and it seems that this fix has not been applied... |