Bug 9988: Merge should have a parameter hash
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 21 Feb 2017 07:39:24 +0000 (08:39 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 13 Apr 2017 12:53:46 +0000 (08:53 -0400)
commit4c762ba69c0a85f3c5a3add40f8f4c16081965fe
treee6e5e8a2f104d84dd3826697cb9add78b7f2e13b
parent2bb870b3f0cadef851497ab1d4ad8783f47ac8f2
Bug 9988: Merge should have a parameter hash

We will need a few additional parameters for merge later on. This patch
puts the original parameters in a parameter hash.
For the same reason DelAuthority gets a parameter hash here.

Note: We remove the second parameter from the DelAuthority call in
authorities/authorities-home.pl here. It was not used and could have
presented problems in the future.

Test plan:
[1] Run t/db_dependent/AuthoritiesMarc.t.
[2] Run t/db_dependent/Authorities/Merge.t.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/AuthoritiesMarc.pm
C4/ImportBatch.pm
authorities/authorities-home.pl
authorities/authorities.pl
authorities/merge.pl
misc/migration_tools/merge_authority.pl
misc/migration_tools/remove_unused_authorities.pl
t/db_dependent/Authorities/Merge.t
t/db_dependent/AuthoritiesMarc.t
tools/batch_delete_records.pl