Bug 21872: Simplify conditions and exit on invalid combination of arguments
commitf7e47847e4ff7bd61311fbfde5cc80a0cf91d214
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Thu, 14 Feb 2019 14:06:35 +0000 (14 15:06 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 10 May 2019 12:31:49 +0000 (10 12:31 +0000)
treed74e6d4c3754b082e48b4c9ae795252de0ea894e
parentabe70811098da409af6cb9e97a4a3d00b4f0d3ef
Bug 21872: Simplify conditions and exit on invalid combination of arguments

Change to zero based indexing for slice index to simplify some
conditions. Exit with error message if trying to combine processes
and biblio numbers arguments.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/BiblioUtils.pm
Koha/MetadataRecord/Authority.pm
misc/search_tools/rebuild_elastic_search.pl