From 2730efa26725177f1e72db46881fd9e088c6c374 Mon Sep 17 00:00:00 2001 From: Andreas Jonsson Date: Fri, 26 Apr 2019 19:44:59 +0000 Subject: [PATCH] Bug 22790: The system preference itemBarcodeInputFilter is not applied for barcodes inputed via SIP2 --- C4/SIP/ILS/Item.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SIP/ILS/Item.pm b/C4/SIP/ILS/Item.pm index 240e1990a0..b959106785 100644 --- a/C4/SIP/ILS/Item.pm +++ b/C4/SIP/ILS/Item.pm @@ -74,7 +74,7 @@ use Koha::Items; sub new { my ($class, $item_id) = @_; my $type = ref($class) || $class; - my $item = Koha::Items->find( { barcode => $item_id } ); + my $item = Koha::Items->find( { barcode => barcodedecode( $item_id ) } ); unless ( $item ) { syslog("LOG_DEBUG", "new ILS::Item('%s'): not found", $item_id); warn "new ILS::Item($item_id) : No item '$item_id'."; -- 2.11.0