[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
Fri Feb 6 23:23:16 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9351
Nick Clemens <nick at quecheelibrary.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34994|0 |1
is obsolete| |
--- Comment #43 from Nick Clemens <nick at quecheelibrary.org> ---
Created attachment 35712
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35712&action=edit
[SIGNED OFF] 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