From 6672df6de82637d8f303d297550ed5d7d973ca84 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 10 Feb 2010 12:42:40 -0500 Subject: [PATCH] bug 4152: fixed call to GetItemsForInventory() Restores ability to run a report of items for inventory. Signed-off-by: Galen Charlton --- tools/inventory.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/inventory.pl b/tools/inventory.pl index f4486e32cf..a936decf23 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -40,7 +40,7 @@ my $minlocation=$input->param('minlocation') || ''; my $maxlocation=$input->param('maxlocation'); $maxlocation=$minlocation.'Z' unless ( $maxlocation || ! $minlocation ); my $location=$input->param('location'); -my $itemtype=$input->param('itemtype'); +my $itemtype=$input->param('itemtype'); # FIXME note, template does not currently supply this my $ignoreissued=$input->param('ignoreissued'); my $datelastseen = $input->param('datelastseen'); my $offset = $input->param('offset'); @@ -183,7 +183,7 @@ if ( ! ($uploadbarcodes && length($uploadbarcodes)>0 ) || ( $input->param('compa } } if ($markseen or $op) { - $res = GetItemsForInventory($minlocation,$maxlocation,$location, $ignoreissued,$datelastseen,$branchcode,$offset,$pagesize,$staton); + $res = GetItemsForInventory($minlocation,$maxlocation,$location, $ignoreissued,$itemtype,$datelastseen,$branchcode,$offset,$pagesize,$staton); $template->param(loop =>$res, nextoffset => ($offset+$pagesize), prevoffset => ($offset?$offset-$pagesize:0), -- 2.20.1