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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 18 Sep 2020 09:49:29 +0000 (11:49 +0200)
commit8ede5cd3f93cb96e09f460e1ba965032e804077e
treec8a904649c726a399b3e425618d6302455c3bcd7
parent642c29dc230239d4ae1eb718f423c77072aa1e81
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>
debian/scripts/koha-elasticsearch