Bug 22690: (QA follow-up) Fix indexing for Items sets
This patch adds tests and handling for calling move_to_biblio on a
Koha::Items set that contains items from more than one source biblio.
Test plan
1/ Inspect the changes to t/db_dependent/Koha/SearchEngine/Indexer.t
2/ Run t/db_dependent/Koha/SearchEngine/Indexer.t and confirm it passes
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
}[$engine,"Koha::Biblio",$engine,"Koha::Biblio"],"index_records is called for both biblios for $engine when adopting items (Biblio->items->move_to_biblio(Biblio)";
}[$engine,"Koha::Items",$engine,"Koha::Items"],"index_records is called for from and to biblios for $engine when adopting items (Biblio->items->move_to_biblio(Biblio)";
}[$engine,"Koha::Items",$engine,"Koha::Items",$engine,"Koha::Items"],"index_records is called for all from and to biblios for $engine when adopting items (Items->move_to_biblio(Biblio)";