]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 25 Oct 2023 22:19:17 +0000 (12:19 -1000)
commite65437199ae3c2abb0467c14b2a3884be524b087
tree97adb328b5b059b07aea164f5e4e79b525755b87
parent851d77448652cc7006102b4b30d443d343154aac
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>
(cherry picked from commit cd033bfc60f9700d0d52986a95da55a92c88ee01)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
cataloguing/moveitem.pl