https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39558

--- Comment #1 from Nick Clemens (kidclamp) <[email protected]> ---
Created attachment 180616
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180616&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

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/

Reply via email to