[% PROCESS 'merge-record.inc' %] [% INCLUDE 'doc-head-open.inc' %] Koha › Cataloging › Merging records [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'merge-record-strings.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cataloging-search.inc' %]

Merging records

[% IF ( result ) %] [% IF ( errors.size ) %] [% FOREACH error IN errors %]
[% IF error.code == 'CANNOT_MOVE' %] The following items could not be moved from the old record to the new one: [% error.value %] [% ELSE %] [% error %] [% END %]
Therefore, the record to be merged has not been deleted.
[% END %] [% ELSE %]

The merge was successful. Click here to see the merged record.

Report

[% FOREACH key IN report_header.keys.sort %] [% tag = key.substr(0, 3) %] [% code = key.substr(3, 1) %] [% IF code == '@' %] [% header = tag %] [% ELSE %] [% header = tag _ '$' _ code %] [% END %] [% END %] [% FOREACH record IN report_records %] [% FOREACH key IN report_header.keys.sort %] [% END %] [% END %]
Biblionumber[% header %]
[% record.biblionumber %] [% IF loop.first %] (record kept) [% END %] [% values = record.fields.$key %] [% IF values %] [% FOREACH value IN record.fields.$key %] [% value %] [% UNLESS loop.last %]
[% END %] [% END %] [% END %]
[% END %] [% ELSE %] [% IF ( choosereference ) %]

Please choose which record will be the reference for the merge. The record chosen as reference will be kept, and the other will be deleted.

Merge reference
    [% FOREACH record IN records %]
  1. [% IF loop.first %] [% ELSE %] [% END %]
  2. [% END %] [% IF frameworkselect.size %]
  3. [% END %]
[% FOREACH record IN records %] [% END %]
[% ELSE %] [% IF ( errors.size ) %]
[% FOREACH error IN errors %]

[% error %]

[% END %]
[% ELSE %]
[% PROCESS mergesource sourcerecords=records %]
[% PROCESS mergetarget %]
[% FOREACH record IN records %] [% END %]
(Example: "001,245ab,600")
[% END %] [% END %] [% END %]
[% INCLUDE 'intranet-bottom.inc' %]