From 644d960f1f0ee44a1b5ca4fa72d4ebd1232bde30 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Thu, 28 Jan 2016 10:41:27 +0100 Subject: [PATCH] Bug 14695 - Don't use holds_to_place_count when checking an item. This fix the following bug: If you select 2 in "Holds to place (count)" and finally check an item, so you get 2 holds for the same item. --- reserve/placerequest.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/reserve/placerequest.pl b/reserve/placerequest.pl index 411c31b..b7335ae 100755 --- a/reserve/placerequest.pl +++ b/reserve/placerequest.pl @@ -70,6 +70,7 @@ my $found; # if we have an item selectionned, and the pickup branch is the same as the holdingbranch # of the document, we force the value $rank and $found . if (defined $checkitem && $checkitem ne ''){ + $holds_to_place_count = 1; $rank[0] = '0' unless C4::Context->preference('ReservesNeedReturns'); my $item = $checkitem; $item = GetItem($item); -- 2.1.4