From f08f67d3f1fb1b7ca9406fbb395c0c68312d0d49 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Tue, 12 Apr 2011 11:06:36 +0100 Subject: [PATCH] Bug 6169: Inventory tool fails when ignoreissued set 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 Signed-off-by: Chris Cormack --- tools/inventory.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/inventory.pl b/tools/inventory.pl index 30720e6c1b..cc7e8a76ac 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), -- 2.39.5