[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
Sun May 24 14:43:32 CEST 2015


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

--- Comment #50 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 39456
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39456&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

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Nick <nick at quecheelibrary.org>

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


More information about the Koha-bugs mailing list