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
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/