Koha/labels
Kyle Hall 6ccb4d0fff 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>
(cherry picked from commit 7ddfa8ddd7)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2022-11-10 23:43:49 +00: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-11-10 23:43:49 +00: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-08-23 10:29:30 -06:00
label-home.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
label-item-search.pl Bug 25616: (QA follow-up) Catch a case in labels/label-item-search.pl 2022-02-24 14:35:36 -10: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