Merge patron records
[% IF action == 'show' %] [% IF patrons.count > 1 %]Select patron to keep. Data from the other patrons will be transferred to this patron record and the remaining patron records will be deleted.
[% ELSIF action == 'merge' %]Results
[% IF error %] [% IF error == 'INVALID_KEEPER' %]Patron records merged into [% INCLUDE 'patron-title.inc' patron = keeper %]
[% FOREACH pair IN results.merged.pairs %] [% SET patron = pair.value.patron %][% INCLUDE 'patron-title.inc' %]
[% FOREACH r IN pair.value.updated.pairs %] [% SET name = r.key %] [% SET count = r.value %] [% IF count %][% count | html %] [% PROCESS display_names rs = name %] transferred. [% IF name == 'Reserve' %] It is advisable to check for and resolve duplicate holds due to merging. [% END %]
[% END %] [% END %] [% END %] [% END %] [% UNLESS error %] View patron record [% END %] [% END %]