http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9351

--- Comment #18 from Fridolin SOMERS <[email protected]> ---
(In reply to Chris Cormack from comment #16)
> Comment on attachment 23692 [details] [review]
> Bug 9351 - item type not recorded correctly in statistics for returns and
> some local use
> 
> Review of attachment 23692 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: C4/Circulation.pm
> @@ +1897,4 @@
> >      UpdateStats(
> >          $branch, $stat_type, '0', '',
> >          $item->{'itemnumber'},
> > +        $item->{'itype'},
> 
> Shouldn't this be checking the itemlevel itemtypes system preference? 
> Otherwise this is going to break for any libraries using biblioitem level
> itemtypes
No, because $item comes from GetItem() and this method sets $item->{'itype'}
with biblioitems.itemtype if bibliolevel itemtypes.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to