[Koha-patches] [PATCH] bug 4152: fixed call to GetItemsForInventory()
Galen Charlton
gmcharlt at gmail.com
Wed Feb 10 18:44:55 CET 2010
Restores ability to run a report of items for inventory.
Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
tools/inventory.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/inventory.pl b/tools/inventory.pl
index f4486e3..a936dec 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),
--
1.6.3.3
More information about the Koha-patches
mailing list