From d5c25ff3438104442f8dde7074b3f1b0b0804550 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Mon, 11 Apr 2011 13:49:20 -0400 Subject: [PATCH] Bug 6169: Inventory tool fails when ignoreissued set Content-Type: text/plain; charset="UTF-8" Due to incorrect parameters passed to C4::Items::GetItemsForInventory, checking the "Skip copies on loan" box resulted in the inventory failing to run. --- tools/inventory.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/inventory.pl b/tools/inventory.pl index f8903e5..aa792d3 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.2.3