]> git.koha-community.org Git - koha.git/commit
Bug 26448: Don't overwrite commit parameter passed to koha-elasticsearch
authorJoonas Kylmälä <joonas.kylmala@helsinki.fi>
Mon, 14 Sep 2020 07:27:24 +0000 (10:27 +0300)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 16 Oct 2020 15:28:25 +0000 (15:28 +0000)
commit26788ebcf40d8860b933cb7ad159aaa299e3e8bb
tree7f7f5438e46609d092aa738483d5b499f5a5120e
parent14c1d322554c8ae36b30081ea6c03cebcebd8d6e
Bug 26448: Don't overwrite commit parameter passed to koha-elasticsearch

The "--commit" or "-c" parameter was incorrectly not used if it was
passed to the koha-elasticsearch program.

To test:
1) Before patch notice koha-elasticsearch --rebuild --commit 1 -v <instance>
   only commits every 5000 records
2) Apply patch and notice the above command commits every 1 record

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 8ede5cd3f93cb96e09f460e1ba965032e804077e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
debian/scripts/koha-elasticsearch