[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 29 17:36:37 CET 2014


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

Fridolin SOMERS <fridolyn.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23692|0                           |1
        is obsolete|                            |

--- Comment #33 from Fridolin SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 34818
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34818&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