From c37d75926f431e1f3e6c59852a78a97fcf3b1c49 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 31 Mar 2011 12:44:17 -0400 Subject: [PATCH] Partial fix for Bug 4870, Damaged status does not prevent items from being selected for reserves Content-Type: text/plain; charset="utf-8" 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. --- misc/cronjobs/holds/build_holds_queue.pl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/misc/cronjobs/holds/build_holds_queue.pl b/misc/cronjobs/holds/build_holds_queue.pl index b02ab60..e91f635 100755 --- a/misc/cronjobs/holds/build_holds_queue.pl +++ b/misc/cronjobs/holds/build_holds_queue.pl @@ -169,6 +169,7 @@ sub GetItemsAvailableToFillHoldRequestsForBib { AND holdingbranch IS NOT NULL AND itemlost = 0 AND wthdrawn = 0 + AND damaged = 0 AND items.onloan IS NULL AND (itemtypes.notforloan IS NULL OR itemtypes.notforloan = 0) AND itemnumber NOT IN ( -- 1.7.3