Bug 15325: Fix --table option of rebuild_zebra.pl
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 7 Dec 2015 14:25:25 +0000 (15:25 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 14 Dec 2015 07:18:10 +0000 (08:18 +0100)
commit23837e1c137a5933601712689dbe7c8d0711f252
treef6e74e75612e9d43ed3d6c8147956e3e5b552560
parentdfa650949d50c1c90a3950db9a7d2b6a265e3b76
Bug 15325: Fix --table option of rebuild_zebra.pl

Option's value given on command line was never used and 'biblioitems'
was used instead.

Test plan:
1. git checkout master
2. perl misc/migration_tools/rebuild_zebra.pl -b -t items --where "price = 42"
3. You should see errors printed on screen about an unknown column
4. Apply patch
5. perl misc/migration_tools/rebuild_zebra.pl -b -t items --where "price = 42"
6. No errors \o/

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 48df0b8a2d50a0a4b9a17efd5e0711425ed5e09e)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
misc/migration_tools/rebuild_zebra.pl