Bug 22996: Move barcode separators to a preference
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 28 May 2019 14:14:02 +0000 (14:14 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 10 Sep 2019 08:34:34 +0000 (09:34 +0100)
commit237b86006bc7880ffcf8427e2fdc1c71797d4abc
tree1926ad3c4d81b71e16112a0e2f68eaa27aa836e6
parentb9c236ecb8534b4682939440feff86a4275658fe
Bug 22996: Move barcode separators to a preference

This patch makes batchMod.pl and inventory.pl pick the barcode
separators from a new pref BarcodeSeparators (instead of hardcoding
these separators differently).
A few other code locations may be potential candidates for such a change
too.

Test plan:
Test inventory with a few variations of BarcodeSeparators.
Test Batch item modification similarly.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
tools/batchMod.pl
tools/inventory.pl