]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 24 Apr 2013 09:52:11 +0000 (21:52 +1200)
commit26038d897ebdda32f2bdf2435f82d15efb70c0c7
tree51207410cd44352ea414fc16d2ec7e3c2f7d4218
parent6002812a220115d9b5b7b083ec931d9098f7af11
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: Chris Cormack <chrisc@catalyst.net.nz>
C4/Circulation.pm
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl