]> git.koha-community.org Git - koha.git/commit
Bug 21908: Add biblio_metadata to rebuild_zebra.pl tables
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Nov 2018 09:15:00 +0000 (10:15 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 2 Jan 2019 09:24:46 +0000 (10:24 +0100)
commite55b5f9bace77e3ec4250cedc7baca5e30efd6f2
tree4939aff673a1cce7af298419f4016ff2156e8c6d
parentd2d640a55a78c5edc9eb1230f626525f0a775afa
Bug 21908: Add biblio_metadata to rebuild_zebra.pl tables

Zebra indexing script misc/migration_tools/rebuild_zebra.pl as a table arg to allow filtering.
It is missing biblio_metadata to allow filtering on MARCXML with ExtractValue.

Test plan :
1) Be sur you have a biblio record with biblionumber 1
2) Run misc/migration_tools/rebuild_zebra.pl -h
3) You see : --table specify a table (can be items, biblioitems, biblio, biblio_metadata) to retrieve biblionumber to index.
4) Run misc/migration_tools/rebuild_zebra.pl -v -b --table biblio_metadata --where="biblio_metadata.biblionumber=1"
5) Check you dont have SQL errors

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit c36597bc0c72cc31249c02af5aaaf1c1f977ee50)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 33b8f3ff1df670d4512695213d004b1a189f9c25)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 2f7868e9c6d3a1646b9c0d9e8736301b317750e9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/migration_tools/rebuild_zebra.pl