]> git.koha-community.org Git - koha.git/commit
Bug 34171: Use barcodedecode when attaching items to another record
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 21 Jul 2023 15:25:00 +0000 (15:25 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 20 Oct 2023 14:43:03 +0000 (11:43 -0300)
commitcd033bfc60f9700d0d52986a95da55a92c88ee01
tree19839adb7e447951a8ce191a6de641c1846e8581
parentaa771cf3ecb316a7b54de3726c26f7dfe40810de
Bug 34171: Use barcodedecode when attaching items to another record

Bug 26351 added barcodecode that transforms scanned barcodes either
by using itemBarcodeInputFilter  or via a plugin to various pages in
Koha, including checkout and checkin. But the feature for attaching
items to a new record was missed.

To test:
* Add an item with barcode "ab" to any record
* Set itemBarcodeInputFilter to "Remove spaces from"
* Search for another record in the catalog
* Edit > attach item > "a b"
* The item is not found.
* Apply patch, restart_all
* Try again with "a b"
* Verify that the item is found and attached to the record

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
cataloguing/moveitem.pl