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)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 18 Aug 2008 12:17:36 +0000 (07:17 -0500)
commit8588c7d79eae2c4c0f1aa071d3ff4d754c14904b
tree75ba00502c5636212d4bf9210b2a020565db6ead
parentdaa2a042230a1d3a2f97fd9a6c4261b77bcbacc7
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