[Koha-bugs] [Bug 19730] misc/export_records.pl should use biblio_metadata.timestamp

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 1 17:16:41 CET 2017


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

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 69440
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69440&action=edit
Bug 19730: Use biblio_metadata.timestamp in export_records.pl

Since bug 17196, biblioitems.timestamp is not always updated after a
change in the MARC record.
Filtering should be based on biblio_metadata.timestamp instead.

Test plan:
0. Do not apply patch
1. Run export DATE="$(date '+%F %T')"
2. Edit a biblio record, modify a field that is not mapped to a DB
   column, so biblio_metadata.timestamp will be modified but not
   biblioitems.timestamp
3. Run misc/export_records.pl --date="$DATE"
4. Verify that koha.mrc is empty
5. Apply patch
6. Run misc/export_records.pl --date="$DATE"
7. Verify koha.mrc contains the record you modified

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list