https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39558
Martin Renvoize (ashimema) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180624|0 |1 is obsolete| | --- Comment #10 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 182319 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182319&action=edit Bug 39558: Update biblio and biblioitems timestamps explicitly This patch simply adds 'timestamp = current_timestamp()' to the SQL statements run when editing a biblio. This ensures the tables timestamps are kept in sync To test: 1 - Choose a biblio in the database and make an update to a 650 field 2 - Check the timestamps in MySQL: SELECT biblio.timestamp, biblioitems.timestamp, biblio_metadata.timestamp FROM biblio JOIN biblioitems USING (biblionumber) JOIN biblio_metadata USING (biblionumber) WHERE biblionumber=9; 3 - Note the timestamps 4 - Edit the same 650 again 5 - Check the timestamps and note that the biblio_metadata is updated, but the others are not 6 - Apply patch, restart all 7 - Update the 650 again 8 - Check the timestamps, all are updated! 9 - Sign off Signed-off-by: David Nind <[email protected]> Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
