[Koha-bugs] [Bug 14598] itemtype is not set on statistics by C4::Circulation::AddReturn

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 18 21:49:01 CEST 2015


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

--- Comment #19 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 41637
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41637&action=edit
Bug 14598: (DB update) fix NULL itemtypes in statistics on 'return' rows

This patch introduces an updatedatabase.pl block that updates the rows that
lack itemtype. It relies on Koha::Item->effective_itemtype() to choose the rigt
one.

I wrote it using SQL because the statistics table lacks PKs.

Note: I'm not sure about making this dependent on 14651, I need a QA POV on
this,
and I'm biased as I wrote all the related patches...

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


More information about the Koha-bugs mailing list