This should use a similar interface to the merge tool for records already in the catalog.
Hi Jesse, I'd be very interested in more information about this! Do you have a spec or can you describe the idea in a few sentences?
Work to be done: 1) For all staged records with found matches, add a 'merge editor' link. This link will open a page similar to cataloguing/merge.pl 2) Within the merge editor you will be able to select fields to retain/remove from each record 3) Saving the merge will update the staged record with the selected value 4) At this point, importing the record will replace the existing record with the staged record that you modified with the merge values
Ah, thx Nicole that makes sense - just not quite what I was hoping for :) We'd like to have something that happens automatically if certain conditions are met.
That would be AWESOME!!! I think this is a step in that direction though :)
Yep of course - I think that will be helpful for everyone running the imports manually.
Created attachment 53502 [details] [review] Bug 14578: Allow manual merging of import records on match Test plan: 1) Ensure that normal record merging still correctly functions. 2) Import a record that matches an existing record (exporting an existing record and reimporting it is an easy way to test this). 3) On the manage import batch page, there should now be a link to Merge. 4) Clicking this and going through the merge process should leave both records in place but update the import record.
Created attachment 53596 [details] [review] Bug 14578: Allow manual merging of import records on match Test plan: 1) Ensure that normal record merging still correctly functions. 2) Import a record that matches an existing record (exporting an existing record and reimporting it is an easy way to test this). 3) On the manage import batch page, there should now be a link to Merge. 4) Clicking this and going through the merge process should leave both records in place but update the import record. Sponsored-by: Rutgers School of Law Forgot sponsored-by.
CONFLICT (content): Merge conflict in cataloguing/merge.pl
Created attachment 60164 [details] [review] Bug 14578: Allow manual merging of import records on match Test plan: 1) Ensure that normal record merging still correctly functions. 2) Import a record that matches an existing record (exporting an existing record and reimporting it is an easy way to test this). 3) On the manage import batch page, there should now be a link to Merge. 4) Clicking this and going through the merge process should leave both records in place but update the import record. Sponsored-by: Rutgers School of Law Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Heather Mitchell <hlm@camden.rutgers.edu>
Sure about this change, Kyle ? --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc @@ -9,7 +9,7 @@ function mergeAuth(authid, summary) { if (typeof alreadySelected.mergereference !== 'undefined') { refstring = "&mergereference=" + alreadySelected.mergereference; } - window.location.href = "/cgi-bin/koha/authorities/merge.pl?authid=" + authid + "&authid=" + alreadySelected.authid + refstring; + window.location.href = "/cgi-bin/koha/authorities/merge.pl?record=catalog/" + authid + "&record=catalog/" + alreadySelected.authid + refstring;
CONFLICT (content): Merge conflict in koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt
Created attachment 91933 [details] [review] Bug 14578: Allow manual merging of import records on match Test plan: 1) Ensure that normal record merging still correctly functions. 2) Import a record that matches an existing record (exporting an existing record and reimporting it is an easy way to test this). 3) On the manage import batch page, there should now be a link to Merge. 4) Clicking this and going through the merge process should leave both records in place but update the import record. Sponsored-by: Rutgers School of Law Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Heather Mitchell <hlm@camden.rutgers.edu>
I am sorry, but this no longer applies: 91933 - Bug 14578: Allow manual merging of import records on match Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 14578: Allow manual merging of import records on match Using index info to reconstruct a base tree... M koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt M koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt M koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt Falling back to patching base and 3-way merge... Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt CONFLICT (content): Merge conflict in koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt CONFLICT (content): Merge conflict in koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt error: Failed to merge in the changes. Patch failed at 0001 Bug 14578: Allow manual merging of import records on match The copy of the patch that failed is found in: .git/rebase-apply/patch When you have resolved this problem run "git bz apply --continue". If you would prefer to skip this patch, instead run "git bz apply --skip". To restore the original branch and stop patching run "git bz apply --abort". Patch left in /tmp/Bug-14578-Allow-manual-merging-of-import-records-o-4t26wv.patch