[Koha-patches] [SIGNED OFF] Bug 6169: Inventory tool fails when ignoreissued set

Colin Campbell colin.campbell at ptfs-europe.com
Tue Apr 12 12:06:36 CEST 2011


From: Jared Camins-Esakov <jcamins at bywatersolutions.com>

Due to incorrect parameters passed to C4::Items::GetItemsForInventory, checking
the "Skip copies on loan" box resulted in the inventory failing to run.

Signed-off-by: Colin Campbell <colin.campbell at ptfs-europe.com>
---
 tools/inventory.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/inventory.pl b/tools/inventory.pl
index 30720e6..cc7e8a7 100755
--- a/tools/inventory.pl
+++ b/tools/inventory.pl
@@ -185,7 +185,7 @@ if ( ! ($uploadbarcodes && length($uploadbarcodes)>0 ) || ( $input->param('compa
         }
     }
     if ($markseen or $op) {
-        $res = GetItemsForInventory( $minlocation, $maxlocation, $location, $ignoreissued, $itemtype, $datelastseen, $branchcode, $branch, $offset, $pagesize, $staton );
+        $res = GetItemsForInventory( $minlocation, $maxlocation, $location, $itemtype, $ignoreissued, $datelastseen, $branchcode, $branch, $offset, $pagesize, $staton );
         $template->param(loop =>$res,
                         nextoffset => ($offset+$pagesize),
                         prevoffset => ($offset?$offset-$pagesize:0),
-- 
1.7.4.2



More information about the Koha-patches mailing list