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 <colin.campbell@ptfs-europe.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
50dcc32876
commit
f08f67d3f1
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue