[Patches] [PATCH] Bug 7299 - Changes AddReserve parameters in HoldItem ILSDI service

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Sat Dec 3 14:15:48 NZDT 2011


From: Alex Arnaud <alex.arnaud at biblibre.com>
Date: Fri, 2 Dec 2011 10:53:23 +0100
Subject: [PATCH] Bug 7299 - Changes AddReserve parameters in HoldItem ILSDI service

---
 C4/ILSDI/Services.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm
index 90f741a..0722888 100644
--- a/C4/ILSDI/Services.pm
+++ b/C4/ILSDI/Services.pm
@@ -700,8 +700,8 @@ sub HoldItem {
     }
 
     # Add the reserve
-    #          $branch, $borrowernumber, $biblionumber, $constraint, $bibitems,  $priority, $notes, $title, $checkitem,  $found
-    AddReserve( $branch, $borrowernumber, $biblionumber, 'a', undef, $rank, undef, $title, $itemnumber, $found );
+    # $branch,$borrowernumber,$biblionumber,$constraint,$bibitems,$priority,$resdate,$expdate,$notes,$title,$checkitem,$found
+    AddReserve( $branch, $borrowernumber, $biblionumber, 'a', [$biblionumber], $rank, '', '', '', $title, $itemnumber, $found );
 
     # Hashref building
     my $out;
-- 
1.7.0.4




More information about the Patches mailing list