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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 11 Dec 2015 16:15:50 +0000 (16:15 +0000)
commit48df0b8a2d50a0a4b9a17efd5e0711425ed5e09e
tree85e41df925cb51c52f1aa3f50450a3f273858fbc
parentae5962cab435fe5119cf743a2ea0b9e501985ff9
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>
misc/migration_tools/rebuild_zebra.pl