[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
Thu Dec 19 18:01:23 CET 2013


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

--- Comment #14 from Fridolin SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 23692
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23692&action=edit
Bug 9351 - item type not recorded correctly in statistics for returns and some
local use

When returning a loan, or when returning an item for local use, the
corresponding entry in the statistics table takes the item type from the bib
level. This is incorrect when item-level item types is enabled.

This patch corrects this problem by getting itemtype from $item->{'itype'}
which comes from item or biblio level in GetItem().

Test plan :
- On a catalogue with itemtype on item level, perform a return an look at
statistics table
- Idem for a catalogue with itemtype on biblio level

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list