Bug 9988: Add Koha objects for table need_merge_authorities
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sun, 1 Jan 2017 10:50:44 +0000 (11:50 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 13 Apr 2017 12:53:46 +0000 (08:53 -0400)
commit5cc310238558ceee83cb340c0246d47d880ccf57
tree65cf6ed598fa802529972c9133062b18ce9564f7
parenta26ec1b47f3834b529b75c79d3975be0d16f2ad4
Bug 9988: Add Koha objects for table need_merge_authorities

This patch adds two Koha objects: MergeRequest(s).
MergeRequest has a new method and an oldmarc method.
A class method reporting_tag_xml is added to MergeRequests.pm.
All new routines are tested in Authorities.t.

Removes a few unneeded modules from Koha::Authority.

Test plan:
Run t/db_dependent/Koha/Authorities.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>
Koha/Authority.pm
Koha/Authority/MergeRequest.pm [new file with mode: 0644]
Koha/Authority/MergeRequests.pm [new file with mode: 0644]
t/db_dependent/Koha/Authorities.t