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

alex.arnaud at biblibre.com alex.arnaud at biblibre.com
Fri Dec 2 10:53:35 CET 2011


From: Alex Arnaud <alex.arnaud at biblibre.com>

---
 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 Koha-patches mailing list