Bug 9286 - Add script to add a bib to the zebra queue from the command line
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 14 Dec 2012 12:31:00 +0000 (07:31 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 28 May 2013 15:00:15 +0000 (08:00 -0700)
commitcd150a23bbf6bccb3be08f5ccc328114340dd555
tree2c1488e7f57ab2373cd3df32146e9365b6a29cb1
parent492a1a19f99c27ccbb94cab2fa4318379076bc6f
Bug 9286 - Add script to add a bib to the zebra queue from the command line

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: No test plan, but works.
Tested adding auth, biblios or both, then rebuilding -z
No errors.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Test Plan

1/ run misc/mod_zebraqueue.pl -a 1
2/ In your koha db
SELECT * FROM zebraqueue WHERE done = 0;
Check that a row for authority record id 1 has been inserted
3/ run misc/mod_zebraqueue.pl -b 1
4/ In your koha db
SELECT * FROM zebraqueue WHERE done = 0;
Check that a row for biblio record id 1 has been inserted
5/ run misc/mod_zebraqueue.pl
Make sure the help is sensible
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
misc/mod_zebraqueue.pl [new file with mode: 0755]