]> git.koha-community.org Git - koha.git/commit
Bug 22690: (QA follow-up) Move adopt_items_from_biblios to Koha::Items
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 22 Jul 2021 09:13:42 +0000 (10:13 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Aug 2021 09:02:41 +0000 (11:02 +0200)
commit2ab8f50835acb06a115f00119b88e6f5053472c1
tree08e131ab9e26ba86031823a731b0957abf4a479e
parent33dc5da1559d028a2929c9393306cc188f7db5f6
Bug 22690: (QA follow-up) Move adopt_items_from_biblios to Koha::Items

This patch moves the Koha::Biblio->adopt_items_from_biblio method to the
Koha::Items set class and updates all calls from
Biblio2->adopt_items_from_biblio(Biblio1) to Biblio->items->move_to_biblio(Biblio2)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Biblio.pm
Koha/Items.pm
cataloguing/merge.pl
t/db_dependent/Koha/Biblio.t
t/db_dependent/Koha/Items.t
t/db_dependent/Koha/SearchEngine/Indexer.t