From d39ed9ea51b1c898f223b92923bf979bbeb6f1be Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Tue, 15 Dec 2009 12:09:14 +0100 Subject: [PATCH] (bug #3925) fix build_holds_queue.pl This fix sql query when item-level_itype is set to "off". --- misc/cronjobs/holds/build_holds_queue.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/holds/build_holds_queue.pl b/misc/cronjobs/holds/build_holds_queue.pl index 57e11830fa..febf90ad52 100755 --- a/misc/cronjobs/holds/build_holds_queue.pl +++ b/misc/cronjobs/holds/build_holds_queue.pl @@ -183,7 +183,7 @@ sub GetItemsAvailableToFillHoldRequestsForBib { AND itemnumber IS NOT NULL AND (found IS NOT NULL OR priority = 0) ) - AND biblionumber = ?"; + AND items.biblionumber = ?"; my @params = ($biblionumber, $biblionumber); if ($#branches_to_use > -1) { $items_query .= " AND holdingbranch IN (" . join (",", map { "?" } @branches_to_use) . ")"; -- 2.39.5