Bug 21413: Fix condition to avoid operator bnding isssues
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Nov 2018 16:43:52 +0000 (13:43 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 8 Nov 2018 13:32:42 +0000 (13:32 +0000)
commit87b877e492c317ecf6b6e5cfe5c942e11540aef1
tree54bada31fc721e957958f236d31827001ac78e32
parentf11a107b5dea8a6d936f8c75458be8e1e972a3ad
Bug 21413: Fix condition to avoid operator bnding isssues

The original WHERE condition wasn't enclosed in parenthesis, and hence
was subject to binding precedence issues in some situations.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Items.pm
t/db_dependent/Items/GetItemsForInventory.t