[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
onhand
- Subject: onhand
- From: Kaare Rasmussen <..hidden..>
- Date: Fri, 5 May 2017 09:44:21 +0200
Hi
lsmb 1.5.6.
In the Goods and Services search there is a radio button for onhand
searching. I would expect it to mean "find products with something in
stock, i.e. onhand > 0. But pushing it returns an empty list, and
looking into the goods__search function definition in
sql/modules/Goods.sql there's no reference to the onhand parameter.
If my expectations are correct, I think there's a missing line in the
in_status check, something like
OR (in_status = 'onhand' and p.onhand > 0)
At least that produces the list I expected.
/kaare
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel