[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
Mon Dec 23 10:12:57 CET 2013


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

--- Comment #18 from Fridolin SOMERS <fridolyn.somers at biblibre.com> ---
(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.


More information about the Koha-bugs mailing list