bug 2527: avoid targeting of items on hold shelf
authorGalen Charlton <galen.charlton@liblime.com>
Fri, 15 Aug 2008 21:38:22 +0000 (16:38 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Thu, 3 Sep 2009 21:38:21 +0000 (09:38 +1200)
commita2c4c5353b07bc61f31910b1e8a1dc9fb58bcd42
treefecff53efd4fb45282221ed885b5ccd7a46b3f61
parent24d9a112d0229be3ac1abc633d3debb36684b01d
bug 2527: avoid targeting of items on hold shelf

SQL fix to properly ensure that if an item is on
the hold shelf, it will not be used for request
targeting, which applies only to items that are
not already on the hold shelf.

Prior to this fix, when checking out an item on the
hold shelf that fills patron A's hold request, it
was possible for that request to not be marked as
filled if another patron had an item-level request
on the item; the second patron's request was
incorrectly targeted by that item.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
misc/cronjobs/holds/build_holds_queue.pl