Partial fix for Bug 4870, Damaged status does not prevent items from being selected...
authorOwen Leonard <oleonard@myacpl.org>
Wed, 6 Apr 2011 07:51:45 +0000 (09:51 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 6 Apr 2011 08:21:07 +0000 (20:21 +1200)
commit0f7411ceee5887751fb34ad2c72c83216d55f0c1
treeae97c06f5d9f2d6c0817b706050bbe24da18367b
parenta6f28246ae08440da8065183dae091bbf0a0b34b
Partial fix for Bug 4870, Damaged status does not prevent items from being selected for reserves

This patch changes the holds queue build process in order to
require that items not be damaged in order to appear in the
holds queue report.

Revision adds a check for the AllowHoldsOnDamagedItems preference to
determine whether a damaged item should be included in the holds
queue report.

Signed-off-by: Christophe Croullebois <christophe.croullebois@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
misc/cronjobs/holds/build_holds_queue.pl