From 6473368d904e9259e069177dcb1d262fc2830f32 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Tue, 15 Dec 2009 12:09:56 +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 0ea62b383e..fab6b964ec 100755 --- a/misc/cronjobs/holds/build_holds_queue.pl +++ b/misc/cronjobs/holds/build_holds_queue.pl @@ -188,7 +188,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