Bug 14387: Merge reference selection has no effect when merging authorities.
authormxbeaulieu <maxime.beaulieu@inlibro.com>
Mon, 15 Jun 2015 15:05:51 +0000 (11:05 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Jul 2015 16:44:58 +0000 (13:44 -0300)
commitee7666a5fdd1b04f1bf50aa89900488e1a01402b
tree36f2f8cde78cc0ad0a05b0ed454a52f08fa91fd7
parentf7ed250d618c57a3fc00728bbb93460b25ceda52
Bug 14387: Merge reference selection has no effect when merging authorities.

This patch swaps the authority records according to the refenrece record selection.

To TEST:
Merge two authority records, select the second as merge reference.
The reference authority is always the first.

Apply the patch.
Repeat previous steps, the authority is now merged using the selected reference record.

modified:   authorities/merge.pl

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
authorities/merge.pl