]> git.koha-community.org Git - koha.git/commit
Bug 7241: circulation action logs record biblionumber instead of item number
authorAdrien Saurat <adrien.saurat@biblibre.com>
Tue, 22 Jan 2013 13:46:38 +0000 (14:46 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 21 Mar 2013 15:42:56 +0000 (11:42 -0400)
commit7ceb9988e935165163a720d265f50646969c55de
tree8ad2f3a01fe66658b466c85b4531d2346d4b4c20
parentc1f4866312e445117df96b74bce9093fd0b25fa0
Bug 7241: circulation action logs record biblionumber instead of item number

Issue log and and circulation logs are incorrectly recording biblionumber instead of item number, creating incorrect logs.
This patch corrects this, and modifies the action_logs table in two ways:
- the timestamp is not updated anymore with UPDATES (but still automatically filled when INSERTing)
- to partially correct the broken logs, the log history is filled with the first found item for each biblio

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Circulation.pm
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl