Bug 22690: (QA follow-up) Index also source biblio when calling move_to_biblio()
authorJoonas Kylmälä <joonas.kylmala@helsinki.fi>
Tue, 25 May 2021 15:34:33 +0000 (18:34 +0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Aug 2021 09:02:41 +0000 (11:02 +0200)
commit2ca69b49af54a01a7a46b8f791539145d1f2c6ad
tree631affe0e405b025959162046ead1cc2134ba9ed
parente0664c8d00fabc4e12d9e910eb2dd314f6d8a379
Bug 22690: (QA follow-up) Index also source biblio when calling move_to_biblio()

We need to update the search index record for the old biblio where the
item was moved from to keep the item info in search index up-to-date.

To test:
1) $ prove t/db_dependent/Koha/SearchEngine/Indexer.t

Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Item.pm
t/db_dependent/Koha/SearchEngine/Indexer.t