[Koha-bugs] [Bug 33036] REST API: Merge biblio records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 13 17:46:09 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33036

--- Comment #1 from Mark Hofstetter <koha at trust-box.at> ---
I'd suggest the following url

PUT: /biblios/{biblio_id}/merge/{biblio_id_to_merge}

where biblio_id is the biblio_id of the record to be kept

additionally we need a list (json, csv ..) of the records that should be taken
from the biblio_id_to_merge record

output should be a list from the "report_records" from the
preference('MergeReportFields')

ideally the whole logic of "merge" from 
/cataloguing/merge.pl

starting with
86     # Rewriting the leader

should go into the storage class
package Koha::Biblio;

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list