Koha/labels
Kyle Hall 7ddfa8ddd7
Bug 31482: Label creator does not call barcodedecode
The label creator can accept a list of either itemnumbers or item barcodes.
In the case that the list of composed of barcodes, those barcodes should be
passed though barcodedecode before the lookup is performed.

Test Plan:
1) Apply this patch
2) Download and install the Barcode Transformer plugin
   https://github.com/bywatersolutions/koha-plugin-barcode-transformer/releases/
3) Go to the plugin configuration page, set the configuration to the example configuration from the same page
4) On the "New label batch" page of the Label creator,,
   type in some valid barcodes, but prefix them with X and postfix them with Y, e.g. X123456Y
5) Submit the form
6) Note the items are added to the label batch!

JK: Remove unnecessary if $number check, barcodedecode already does this

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-03 08:41:58 -03:00
..
barcode-print.pl Bug 29821: Add interface for generating barcodes using svc/barcode 2022-04-08 15:49:17 +02:00
label-create-csv.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
label-create-pdf.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
label-create-xml.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
label-edit-batch.pl Bug 31482: Label creator does not call barcodedecode 2022-10-03 08:41:58 -03:00
label-edit-layout.pl Bug 17600: Fix POSIX imports 2021-07-29 14:37:26 +02:00
label-edit-profile.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
label-edit-range.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
label-edit-template.pl Bug 31137: (QA follow-up) Also fix new template page 2022-07-18 10:22:30 -03:00
label-home.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
label-item-search.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
label-manage.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
label-print.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
spinelabel-home.pl Bug 28624: Remove Smart::Comments 2021-07-26 12:46:32 +02:00
spinelabel-print.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00