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

--- Comment #1 from Nick Clemens (kidclamp) <[email protected]> ---
Created attachment 199357
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199357&action=edit
Bug 42658: Add id_match option to bulkmarcimport.pl

This patch adds a en option id_match which will use the incoming biblionumber
to find the exsting record in the DB

To test:
1 - Cataloging -> Export catalog data
2 - From records 1 to 439, export the entire KTD database, or a subset if you
have larger DB
    the important thing is to have biblionumbers
3 - perl misc/migration_tools/bulkmarcimport.pl -b -match Local-number,999c
-file kohatdall.mrc --update --si -v
4 - Confirm this worked as expected, note the time taken, I checked the record
timestamps to confirm they were updated
    SELECT biblionumber,timestamp FROM biblio;
5 - Apply patch
6 - perl misc/migration_tools/bulkmarcimport.pl -b -match Local-number,999c
-file kohatdall.mrc --update --si -v -im
7 - Confirm less time taken and things worked as expected
8 - 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