Bug 22690: (QA follow-up) Fix indexing for Items sets
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 5 Aug 2021 13:19:55 +0000 (14:19 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Aug 2021 09:02:41 +0000 (11:02 +0200)
commit020b93bfc07764c11fe2948b42048828d499c14d
tree9e24ccb166792e7eb2115325bde86197ec0c472d
parent3d5349b914d6915ce7a80a9d1454bfe6b5b51dc8
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>
Koha/Items.pm
t/db_dependent/Koha/SearchEngine/Indexer.t