[Koha-bugs] [Bug 9351] item type not recorded correctly in statistics for returns and some local use
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 27 23:18:48 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9351
--- Comment #40 from David Cook <dcook at 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.
More information about the Koha-bugs
mailing list