http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9351 --- Comment #40 from David Cook <dcook@prosentient.com.au> --- (In reply to Katrin Fischer from comment #39)
Hm, bit confused.
I tested checkouts and returns with itemtype on the item level. For returns the itype column in statistics is set to NULL.
Can you please check?
Nice catch, Katrin! This block: @@ -1988,7 +1988,7 @@ sub AddReturn { branch => $branch, type => $stat_type, itemnumber => $item->{'itemnumber'}, - itemtype => $biblio->{'itemtype'}, + itemtype => $biblio->{'itype'}, borrowernumber => $borrowernumber, ccode => $item->{'ccode'}} ); Should actually be like this: @@ -1988,7 +1988,7 @@ sub AddReturn { branch => $branch, type => $stat_type, itemnumber => $item->{'itemnumber'}, - itemtype => $biblio->{'itemtype'}, + itemtype => $item->{'itype'}, borrowernumber => $borrowernumber, ccode => $item->{'ccode'}} ); There's no such thing as $biblio->{'itype'}. -- You are receiving this mail because: You are watching all bug changes.