[Bug 14598] itemtype is not set on statistics by C4::Circulation:: AddReturn
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14598 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #49981|0 |1 is obsolete| | --- Comment #120 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 56944 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56944&action=edit Bug 14598: (DB update) fix NULL itemtypes in statistics on 'return' rows This patch introduces an updatedatabase.pl entry that takes care of updating existing statistics rows. It does so by looping on the statistics rows, collecting itemnumber occurences that are have NULL itemtypes. It then chooses the right itemtype following what is proposed on bug 14651, and then updates the rows in statistics using the calculated itemtype. Regards Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org